Home
last modified time | relevance | path

Searched refs:argument (Results 1 – 25 of 2907) sorted by relevance

12345678910>>...117

/external/lz4/tests/
Ddatagencli.c90 char* argument = argv[argNb]; in main() local
92 if(!argument) continue; /* Protection if argument empty */ in main()
95 if (*argument=='-') in main()
97 argument++; in main()
98 while (*argument!=0) in main()
100 switch(*argument) in main()
105 argument++; in main()
107 while ((*argument>='0') && (*argument<='9')) in main()
110 size += *argument - '0'; in main()
111 argument++; in main()
[all …]
Dfullbench.c676 const char* argument = argv[i]; in main() local
678 if(!argument) continue; // Protection if argument empty in main()
679 if (!strcmp(argument, "--no-prompt")) { in main()
685 if (argument[0]=='-') { in main()
686 while (argument[1]!=0) { in main()
687 argument ++; in main()
689 switch(argument[0]) in main()
694 while ((argument[1]>= '0') && (argument[1]<= '9')) { in main()
696 g_compressionAlgo += argument[1] - '0'; in main()
697 argument++; in main()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/
DFunctionEvaluationException.java38 private double[] argument; field in FunctionEvaluationException
46 public FunctionEvaluationException(double argument) { in FunctionEvaluationException() argument
47 super(LocalizedFormats.EVALUATION_FAILED, argument); in FunctionEvaluationException()
48 this.argument = new double[] { argument }; in FunctionEvaluationException()
58 public FunctionEvaluationException(double[] argument) { in FunctionEvaluationException() argument
59 super(LocalizedFormats.EVALUATION_FAILED, new ArrayRealVector(argument)); in FunctionEvaluationException()
60 this.argument = argument.clone(); in FunctionEvaluationException()
71 public FunctionEvaluationException(double argument, in FunctionEvaluationException() argument
73 this(argument, new DummyLocalizable(pattern), arguments); in FunctionEvaluationException()
84 public FunctionEvaluationException(double argument, in FunctionEvaluationException() argument
[all …]
/external/lz4/programs/
Dlz4cli.c342 const char* argument = argv[i]; in main() local
344 if(!argument) continue; /* Protection if argument empty */ in main()
347 if (!all_arguments_are_files && argument[0]=='-') { in main()
349 if (argument[1]==0) { in main()
356 if (argument[1]=='-') { in main()
357 if (!strcmp(argument, "--")) { all_arguments_are_files = 1; continue; } in main()
358 if (!strcmp(argument, "--compress")) { mode = om_compress; continue; } in main()
359 if ((!strcmp(argument, "--decompress")) in main()
360 || (!strcmp(argument, "--uncompress"))) { mode = om_decompress; continue; } in main()
361 if (!strcmp(argument, "--multiple")) { multiple_inputs = 1; continue; } in main()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Mips/
Dmacro-aliases-invalid-wrong-error.s10 subu $4, $4, %lo($start) # O32: [[@LINE]]:{{[0-9]+}}: error: unexpected token in argument list
11 … # N64: [[@LINE-1]]:{{[0-9]+}}: error: unexpected token in argument list
12 subu $4, $4, $start # O32: [[@LINE]]:{{[0-9]+}}: error: unexpected token in argument list
13 … # N64: [[@LINE-1]]:{{[0-9]+}}: error: unexpected token in argument list
14 subu $4, $a4, $a4 # O32: [[@LINE]]:{{[0-9]+}}: error: unexpected token in argument list
15 subu $4, $4, %hi(end) # O32: [[@LINE]]:{{[0-9]+}}: error: unexpected token in argument list
16 … # N64: [[@LINE-1]]:{{[0-9]+}}: error: unexpected token in argument list
17 subu $4, $4, end + 4 # O32: [[@LINE]]:{{[0-9]+}}: error: unexpected token in argument list
18 … # N64: [[@LINE-1]]:{{[0-9]+}}: error: unexpected token in argument list
19 subu $4, $4, end # O32: [[@LINE]]:{{[0-9]+}}: error: unexpected token in argument list
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_stoptheworld_test.cc40 void *IncrementerThread(void *argument) { in IncrementerThread() argument
41 CallbackArgument *callback_argument = (CallbackArgument *)argument; in IncrementerThread()
56 void *argument) { in Callback() argument
57 CallbackArgument *callback_argument = (CallbackArgument *)argument; in Callback()
73 CallbackArgument argument; in TEST() local
78 &argument); in TEST()
80 StopTheWorld(&Callback, &argument); in TEST()
82 EXPECT_TRUE(argument.callback_executed); in TEST()
83 EXPECT_TRUE(argument.threads_stopped); in TEST()
111 void *AdvancedIncrementerThread(void *argument) { in AdvancedIncrementerThread() argument
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/core/
Dkernel.hpp70 class argument { class in clover::kernel
72 static std::unique_ptr<argument>
73 create(const module::argument &marg);
75 argument(const argument &arg) = delete;
76 argument &
77 operator=(const argument &arg) = delete;
91 const module::argument &marg) = 0;
97 argument();
104 derefs, std::vector<std::unique_ptr<argument>> &
108 derefs, const std::vector<std::unique_ptr<argument>> &
[all …]
Dkernel.cpp32 const std::vector<module::argument> &margs) : in kernel()
36 if (marg.semantic == module::argument::general) in kernel()
37 _args.emplace_back(argument::create(marg)); in kernel()
170 case module::argument::general: in bind()
174 case module::argument::grid_dimension: { in bind()
176 auto arg = argument::create(marg); in bind()
182 case module::argument::grid_offset: { in bind()
184 auto arg = argument::create(marg); in bind()
191 case module::argument::image_size: { in bind()
198 auto arg = argument::create(marg); in bind()
[all …]
/external/mesa3d/src/gallium/state_trackers/clover/llvm/codegen/
Dcommon.cpp54 enum module::argument::type
58 return module::argument::image2d_rd; in get_image_type()
60 return module::argument::image2d_wr; in get_image_type()
62 return module::argument::image3d_rd; in get_image_type()
64 return module::argument::image3d_wr; in get_image_type()
69 std::vector<module::argument>
72 std::vector<module::argument> args; in make_kernel_args()
102 target_align, module::argument::zero_ext); in make_kernel_args()
106 args.emplace_back(module::argument::scalar, sizeof(cl_uint), in make_kernel_args()
109 module::argument::zero_ext, in make_kernel_args()
[all …]
/external/mockito/src/test/java/org/mockitousage/matchers/
DCapturingArgumentsTest.java66 ArgumentCaptor<Person> argument = ArgumentCaptor.forClass(Person.class); in should_allow_assertions_on_captured_argument() local
72 verify(emailService).sendEmailTo(argument.capture()); in should_allow_assertions_on_captured_argument()
73 assertEquals(12, argument.getValue().getAge()); in should_allow_assertions_on_captured_argument()
79 ArgumentCaptor<Person> argument = ArgumentCaptor.forClass(Person.class); in should_allow_assertions_on_all_captured_arguments() local
85 verify(emailService, times(2)).sendEmailTo(argument.capture()); in should_allow_assertions_on_all_captured_arguments()
86 assertEquals(11, argument.getAllValues().get(0).getAge()); in should_allow_assertions_on_all_captured_arguments()
87 assertEquals(12, argument.getAllValues().get(1).getAge()); in should_allow_assertions_on_all_captured_arguments()
93 ArgumentCaptor<Person> argument = ArgumentCaptor.forClass(Person.class); in should_allow_assertions_on_last_argument() local
99 verify(emailService, times(3)).sendEmailTo(argument.capture()); in should_allow_assertions_on_last_argument()
100 assertEquals(13, argument.getValue().getAge()); in should_allow_assertions_on_last_argument()
[all …]
/external/clang/test/SemaCXX/
Dwarn-memsize-comparison.cpp20 expected-warning{{size argument in 'memset' call is a comparison}} \ in f()
22 expected-note {{explicitly cast the argument}} in f()
26 expected-warning{{size argument in 'memmove' call is a comparison}} \ in f()
28 expected-note {{explicitly cast the argument}} in f()
32 expected-warning{{size argument in 'memcpy' call is a comparison}} \ in f()
34 expected-note {{explicitly cast the argument}} in f()
38 expected-warning{{size argument in 'memcmp' call is a comparison}} \ in f()
40 expected-note {{explicitly cast the argument}} in f()
44 expected-warning{{size argument in 'strncmp' call is a comparison}} \ in f()
46 expected-note {{explicitly cast the argument}} in f()
[all …]
/external/clang/test/FixIt/
Dformat.m10 …printf("%s", x); // expected-warning{{format specifies type 'char *' but the argument has type 'in…
11 …printf("%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'i…
16 …NSLog(@"%s", x); // expected-warning{{format specifies type 'char *' but the argument has type 'in…
17 …NSLog(@"%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'i…
18 NSLog(@"%@", x); // expected-warning{{format specifies type 'id' but the argument has type 'int'}}
25 …printf("%d", x); // expected-warning{{format specifies type 'int' but the argument has type 'char …
27 …printf("%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'c…
31 …NSLog(@"%d", x); // expected-warning{{format specifies type 'int' but the argument has type 'char …
33 …NSLog(@"%lf", x); // expected-warning{{format specifies type 'double' but the argument has type 'c…
34 …NSLog(@"%@", x); // expected-warning{{format specifies type 'id' but the argument has type 'char *…
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Mips/mt/
Dmftr-mttr-aliases-invalid-wrong-error.s6 mftc0 0($4), $5 # CHECK: error: unexpected token in argument list
7 mftc0 0($4), $5, 1 # CHECK: error: unexpected token in argument list
8 mftgpr 0($4), $5 # CHECK: error: unexpected token in argument list
9 mftlo 0($3) # CHECK: error: unexpected token in argument list
10 mftlo 0($3), $ac1 # CHECK: error: unexpected token in argument list
11 mfthi 0($3) # CHECK: error: unexpected token in argument list
12 mfthi 0($3), $ac1 # CHECK: error: unexpected token in argument list
13 mftacx 0($3) # CHECK: error: unexpected token in argument list
14 mftacx 0($3), $ac1 # CHECK: error: unexpected token in argument list
15 mftdsp 0($4) # CHECK: error: unexpected token in argument list
[all …]
/external/proguard/src/proguard/optimize/peephole/
DInstructionSequenceReplacer.java325 private int matchedArgument(Clazz clazz, int argument) in matchedArgument() argument
328 if (argument == STRING_A_LENGTH) in matchedArgument()
335 return instructionSequenceMatcher.matchedArgument(argument); in matchedArgument()
378 int argument) in argumentAsString() argument
383 return Boolean.toString((instructionSequenceMatcher.wasConstant(argument) ? in argumentAsString()
384 …(programClass.getConstant(instructionSequenceMatcher.matchedConstantIndex(argument)))).getValue() : in argumentAsString()
385 instructionSequenceMatcher.matchedArgument(argument)) != 0); in argumentAsString()
388 … return Character.toString((char)(instructionSequenceMatcher.wasConstant(argument) ? in argumentAsString()
389 …(programClass.getConstant(instructionSequenceMatcher.matchedConstantIndex(argument)))).getValue() : in argumentAsString()
390 instructionSequenceMatcher.matchedArgument(argument))); in argumentAsString()
[all …]
/external/bcc/src/cc/frontends/p4/compiler/
DebpfAction.py307 def __init__(self, argument, caller, dataContainer, program): argument
316 if isinstance(argument, int):
317 self.asString = str(argument)
320 elif isinstance(argument, p4_field):
322 argument.instance):
323 if isinstance(argument.instance.index, int):
324 index = "[" + str(argument.instance.index) + "]"
329 argument.instance.index)
331 argument.instance.base_name)
333 fieldtype = stackInstance.basetype.getField(argument.name)
[all …]
/external/grpc-grpc/src/php/tests/qps/generated_code/Grpc/Testing/
DTestServiceClient.php45 public function EmptyCall(\Grpc\Testing\PBEmpty $argument, argument
48 $argument,
59 public function UnaryCall(\Grpc\Testing\SimpleRequest $argument, argument
62 $argument,
75 public function CacheableUnaryCall(\Grpc\Testing\SimpleRequest $argument, argument
78 $argument,
90 public function StreamingOutputCall(\Grpc\Testing\StreamingOutputCallRequest $argument, argument
93 $argument,
144 public function UnimplementedCall(\Grpc\Testing\PBEmpty $argument, argument
147 $argument,
/external/clang/test/SemaOpenCL/
Dinvalid-pipe-builtin-cl2.0.cl10 read_pipe(tmp, p); // expected-error {{first argument to 'read_pipe' must be a pipe type}}
13 …read_pipe(p, tmp, tmp, ptr); // expected-error {{invalid argument type to function 'read_pipe' (…
14 …read_pipe(p, rid, rid, ptr); // expected-error {{invalid argument type to function 'read_pipe' (…
15 …read_pipe(p, tmp); // expected-error {{invalid argument type to function 'read_pipe' (expecting …
21 …reserve_read_pipe(p, ptr); // expected-error{{invalid argument type to function 'reserve_read_p…
22 …work_group_reserve_read_pipe(tmp, tmp); // expected-error{{first argument to 'work_group_reserv…
27 …commit_read_pipe(tmp, rid); // expected-error{{first argument to 'commit_read_pipe' must be a p…
28 …work_group_commit_read_pipe(p, tmp); // expected-error{{invalid argument type to function 'work…
39 write_pipe(tmp, p); // expected-error {{first argument to 'write_pipe' must be a pipe type}}
42 …write_pipe(p, tmp, tmp, ptr); // expected-error {{invalid argument type to function 'write_pipe'…
[all …]
/external/googletest/googlemock/docs/
DCheatSheet.md66 convention as the first argument to the macro. For example,
154 A **matcher** matches a _single_ argument. You can use it inside
163 Built-in matchers (where `argument` is the function argument) are
169 |`_`|`argument` can be any value of the correct type.|
170 |`A<type>()` or `An<type>()`|`argument` can be any value of type `type`. |
176 |`Eq(value)` or `value`|`argument == value`|
177 |`Ge(value)` |`argument >= value`|
178 |`Gt(value)` |`argument > value` |
179 |`Le(value)` |`argument <= value`|
180 |`Lt(value)` |`argument < value` |
[all …]
/external/deqp-deps/glslang/Test/baseResults/
Dspv.subgroupClusteredNeg.comp.out2 ERROR: 0:22: 'cluster size' : argument must be at least 1
3 ERROR: 0:24: 'cluster size' : argument must be a power of 2
4 ERROR: 0:27: 'cluster size' : argument must be a power of 2
5 ERROR: 0:29: 'cluster size' : argument must be at least 1
6 ERROR: 0:31: 'cluster size' : argument must be at least 1
7 ERROR: 0:33: 'cluster size' : argument must be compile-time constant
8 ERROR: 0:36: 'cluster size' : argument must be compile-time constant
9 ERROR: 0:37: 'cluster size' : argument must be compile-time constant
/external/mesa3d/src/gallium/state_trackers/clover/tgsi/
Dcompiler.cpp44 std::vector<module::argument> args; in read_header()
56 args.push_back({ module::argument::scalar, 4 }); in read_header()
58 args.push_back({ module::argument::global, 4 }); in read_header()
60 args.push_back({ module::argument::local, 4 }); in read_header()
62 args.push_back({ module::argument::constant, 4 }); in read_header()
64 args.push_back({ module::argument::image2d_rd, 4 }); in read_header()
66 args.push_back({ module::argument::image2d_wr, 4 }); in read_header()
68 args.push_back({ module::argument::image3d_rd, 4 }); in read_header()
70 args.push_back({ module::argument::image3d_wr, 4 }); in read_header()
72 args.push_back({ module::argument::sampler, 0 }); in read_header()
/external/icu/icu4c/source/test/iotest/
Diotest.cpp212 UChar argument[512]; in DataDrivenPrintf() local
250 tempStr.extract(argument, UPRV_LENGTHOF(argument), errorCode); in DataDrivenPrintf()
261 dbl = atof(u_austrcpy(cBuffer, argument)); in DataDrivenPrintf()
266 i8 = (int8_t)uto64(argument); in DataDrivenPrintf()
271 i16 = (int16_t)uto64(argument); in DataDrivenPrintf()
276 i32 = (int32_t)uto64(argument); in DataDrivenPrintf()
281 i64 = uto64(argument); in DataDrivenPrintf()
286 u_austrncpy(cBuffer, argument, sizeof(cBuffer)); in DataDrivenPrintf()
291 uBufferLenReturned = u_sprintf_u(uBuffer, format, argument); in DataDrivenPrintf()
292 uFileBufferLenReturned = u_fprintf_u(testFile.getAlias(), format, argument); in DataDrivenPrintf()
[all …]
/external/apache-xml/src/main/java/org/apache/xpath/jaxp/
DJAXPExtensionsProvider.java133 Object argument = argVec.elementAt( i ); in extFunction() local
136 if ( argument instanceof XNodeSet ) { in extFunction()
137 argList.add ( i, ((XNodeSet)argument).nodelist() ); in extFunction()
138 } else if ( argument instanceof XObject ) { in extFunction()
139 Object passedArgument = ((XObject)argument).object(); in extFunction()
142 argList.add ( i, argument ); in extFunction()
184 Object argument = argVec.elementAt( i ); in extFunction() local
187 if ( argument instanceof XNodeSet ) { in extFunction()
188 argList.add ( i, ((XNodeSet)argument).nodelist() ); in extFunction()
189 } else if ( argument instanceof XObject ) { in extFunction()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/Coroutines/
Dcoro-split-alloc.ll4 define i8* @f(i32 %argument) "coroutine.presplit"="1" {
6 %argument.addr = alloca i32, align 4
7 %incremented = add i32 %argument, 1
8 store i32 %incremented, i32* %argument.addr, align 4
15 %allocator_argument = load i32, i32* %argument.addr, align 4
22 %print_argument = load i32, i32* %argument.addr, align 4
41 ; CHECK: %argument.addr = alloca i32
42 ; CHECK: %incremented = add i32 %argument, 1
43 ; CHECK-NEXT: store i32 %incremented, i32* %argument.addr
45 ; CHECK: %allocator_argument = load i32, i32* %argument.addr
[all …]
/external/e2fsprogs/tests/progs/test_data/
Dexpect.icount4 store: Invalid argument passed to ext2 library while calling ext2fs_icount_store
6 fetch: Invalid argument passed to ext2 library while calling ext2fs_icount_fetch
8 increment: Invalid argument passed to ext2 library while calling ext2fs_icount_increment
10 decrement: Invalid argument passed to ext2 library while calling ext2fs_icount_decrement
12 store: Invalid argument passed to ext2 library while calling ext2fs_icount_store
14 fetch: Invalid argument passed to ext2 library while calling ext2fs_icount_fetch
16 increment: Invalid argument passed to ext2 library while calling ext2fs_icount_increment
18 decrement: Invalid argument passed to ext2 library while calling ext2fs_icount_decrement
61 decrement: Invalid argument passed to ext2 library while calling ext2fs_icount_decrement
93 decrement: Invalid argument passed to ext2 library while calling ext2fs_icount_decrement
[all …]
/external/bcc/src/lua/bcc/vendor/
Dargparse.lua362 function actions.store(result, target, argument)
363 result[target] = argument
372 function actions.append(result, target, argument, overwrite)
374 table.insert(result[target], argument)
388 for _, argument in ipairs(arguments) do
389 table.insert(result[target], argument)
544 function Parser:argument(...) function
545 local argument = Argument(...)
546 table.insert(self._arguments, argument)
547 return argument
[all …]

12345678910>>...117