Home
last modified time | relevance | path

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

12345678910>>...134

/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 …]
/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/frontends/clover/core/
Dkernel.hpp72 class argument { class in clover::kernel
74 static std::unique_ptr<argument>
75 create(const module::argument &marg);
77 argument(const argument &arg) = delete;
78 argument &
79 operator=(const argument &arg) = delete;
98 const module::argument &marg) = 0;
103 virtual ~argument() {}; in ~argument()
105 argument();
112 derefs, 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()
164 if (marg.semantic == clover::module::argument::general) in args_infos()
198 case module::argument::general: in bind()
202 case module::argument::grid_dimension: { in bind()
204 auto arg = argument::create(marg); in bind()
210 case module::argument::grid_offset: { in bind()
212 auto arg = argument::create(marg); in bind()
219 case module::argument::image_size: { in bind()
[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/angle/third_party/glslang/src/Test/baseResults/
DrayQuery-committed.Error.rgen.out2 ERROR: 0:48: 'committed' : argument must be compile-time constant
3 ERROR: 0:53: 'committed' : argument must be compile-time constant
4 ERROR: 0:54: 'committed' : argument must be compile-time constant
5 ERROR: 0:58: 'committed' : argument must be compile-time constant
6 ERROR: 0:62: 'committed' : argument must be compile-time constant
7 ERROR: 0:66: 'committed' : argument must be compile-time constant
8 ERROR: 0:70: 'committed' : argument must be compile-time constant
9 ERROR: 0:74: 'committed' : argument must be compile-time constant
10 ERROR: 0:78: 'committed' : argument must be compile-time constant
11 ERROR: 0:82: 'committed' : argument must be compile-time constant
[all …]
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/deqp-deps/glslang/Test/baseResults/
DrayQuery-committed.Error.rgen.out2 ERROR: 0:48: 'committed' : argument must be compile-time constant
3 ERROR: 0:53: 'committed' : argument must be compile-time constant
4 ERROR: 0:54: 'committed' : argument must be compile-time constant
5 ERROR: 0:58: 'committed' : argument must be compile-time constant
6 ERROR: 0:62: 'committed' : argument must be compile-time constant
7 ERROR: 0:66: 'committed' : argument must be compile-time constant
8 ERROR: 0:70: 'committed' : argument must be compile-time constant
9 ERROR: 0:74: 'committed' : argument must be compile-time constant
10 ERROR: 0:78: 'committed' : argument must be compile-time constant
11 ERROR: 0:82: 'committed' : argument must be compile-time constant
[all …]
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/frontends/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()
149 std::vector<module::argument>
152 std::vector<module::argument> args; in make_kernel_args()
178 target_align, module::argument::zero_ext); in make_kernel_args()
181 args.emplace_back(module::argument::sampler, arg_api_size, in make_kernel_args()
183 module::argument::zero_ext); in make_kernel_args()
[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/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/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/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/pthreadpool/src/
Dthreadpool-shim.c22 void* argument, in pthreadpool_parallelize_1d() argument
27 task(argument, i); in pthreadpool_parallelize_1d()
34 void* argument, in pthreadpool_parallelize_1d_tile_1d() argument
40 task(argument, i, min(range - i, tile)); in pthreadpool_parallelize_1d_tile_1d()
47 void* argument, in pthreadpool_parallelize_2d() argument
54 task(argument, i, j); in pthreadpool_parallelize_2d()
62 void* argument, in pthreadpool_parallelize_2d_tile_1d() argument
70 task(argument, i, j, min(range_j - j, tile_j)); in pthreadpool_parallelize_2d_tile_1d()
78 void* argument, in pthreadpool_parallelize_2d_tile_2d() argument
87 task(argument, i, j, min(range_i - i, tile_i), min(range_j - j, tile_j)); in pthreadpool_parallelize_2d_tile_2d()
[all …]
Dthreadpool-legacy.c26 void* argument, in pthreadpool_compute_1d() argument
30 (pthreadpool_task_1d_t) function, argument, in pthreadpool_compute_1d()
37 void* argument, in pthreadpool_compute_1d_tiled() argument
42 (pthreadpool_task_1d_tile_1d_t) function, argument, in pthreadpool_compute_1d_tiled()
49 void* argument, in pthreadpool_compute_2d() argument
54 (pthreadpool_task_2d_t) function, argument, in pthreadpool_compute_2d()
61 void* argument, in pthreadpool_compute_2d_tiled() argument
68 (pthreadpool_task_2d_tile_2d_t) function, argument, in pthreadpool_compute_2d_tiled()
74 void* argument; member
99 context->function(context->argument, index_i, index_j, index_k, tile_i, tile_j, tile_k); in compute_3d_tiled()
[all …]
Dthreadpool-pthreads.c181 void *_Atomic argument; member
307 void *const argument = atomic_load_explicit(&threadpool->argument, memory_order_relaxed); in thread_parallelize_1d() local
311 task(argument, range_start++); in thread_parallelize_1d()
324 task(argument, item_id); in thread_parallelize_1d()
491 void* argument, in pthreadpool_parallelize_1d() argument
503 task(argument, i); in pthreadpool_parallelize_1d()
519 atomic_store_explicit(&threadpool->argument, argument, memory_order_relaxed); in pthreadpool_parallelize_1d()
600 void* argument; member
609 context->task(context->argument, index, tile); in compute_1d_tile_1d()
615 void* argument, in pthreadpool_parallelize_1d_tile_1d() argument
[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/pthreadpool/include/
Dpthreadpool.h65 void* argument,
72 void* argument,
80 void* argument,
88 void* argument,
97 void* argument,
107 void* argument,
118 void* argument,
130 void* argument,
143 void* argument,
184 void* argument,
[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/crosvm/src/
Dmain.rs7 pub mod argument; module
36 use crate::argument::{print_help, set_arguments, Argument};
205 fn parse_cpu_set(s: &str) -> argument::Result<Vec<usize>> { in parse_cpu_set()
210 return Err(argument::Error::InvalidValue { in parse_cpu_set()
217 .map_err(|_| argument::Error::InvalidValue { in parse_cpu_set()
224 .map_err(|_| argument::Error::InvalidValue { in parse_cpu_set()
233 return Err(argument::Error::InvalidValue { in parse_cpu_set()
246 fn parse_serial_options(s: &str) -> argument::Result<SerialParameters> { in parse_serial_options()
264 .map_err(|e| argument::Error::UnknownArgument(format!("{}", e)))? in parse_serial_options()
268 argument::Error::Syntax(format!("serial device number is not parsable: {}", e)) in parse_serial_options()
[all …]
/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 …]

12345678910>>...134