Home
last modified time | relevance | path

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

12345678910>>...71

/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.c634 const char* argument = argv[i]; in main() local
636 if(!argument) continue; // Protection if argument empty in main()
637 if (!strcmp(argument, "--no-prompt")) { in main()
643 if (argument[0]=='-') { in main()
644 while (argument[1]!=0) { in main()
645 argument ++; in main()
647 switch(argument[0]) in main()
652 while ((argument[1]>= '0') && (argument[1]<= '9')) { in main()
654 g_compressionAlgo += argument[1] - '0'; in main()
655 argument++; in main()
[all …]
/external/valgrind/memcheck/tests/
Dsigkill.stderr.exp-darwin26 setting signal 9: Invalid argument
27 getting signal 9: Invalid argument
50 setting signal 17: Invalid argument
51 getting signal 17: Invalid argument
94 Invalid argument
97 setting signal 34: Invalid argument
98 getting signal 34: Invalid argument
100 setting signal 35: Invalid argument
101 getting signal 35: Invalid argument
103 setting signal 36: Invalid argument
[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.c313 const char* argument = argv[i]; in main() local
315 if(!argument) continue; /* Protection if argument empty */ in main()
318 if (argument[0]=='-') { in main()
320 if (argument[1]==0) { in main()
327 if (argument[1]=='-') { in main()
328 if (!strcmp(argument, "--compress")) { mode = om_compress; continue; } in main()
329 if ((!strcmp(argument, "--decompress")) in main()
330 || (!strcmp(argument, "--uncompress"))) { mode = om_decompress; continue; } in main()
331 if (!strcmp(argument, "--multiple")) { multiple_inputs = 1; continue; } in main()
332 if (!strcmp(argument, "--test")) { mode = om_test; continue; } in main()
[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/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/syslinux/gpxe/src/core/
Dgetopt.c105 const char *argument = NULL; in match_long_option() local
114 argument = &opttext[ optlen + 1 ]; in match_long_option()
126 if ( ( longopt->has_arg != no_argument ) && ( ! argument ) ) in match_long_option()
127 argument = get_argv_argument ( argc, argv ); in match_long_option()
130 if ( ( longopt->has_arg == required_argument ) && ( ! argument ) ) { in match_long_option()
138 if ( ( longopt->has_arg == no_argument ) && argument ) { in match_long_option()
145 optarg = ( char * ) argument; in match_long_option()
169 const char *argument = NULL; in match_short_option() local
181 argument = opttext; in match_short_option()
194 if ( ( has_arg != no_argument ) && ( ! argument ) ) in match_short_option()
[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/parameter-framework/upstream/remote-processor/
DRequestMessage.cpp77 const string &CRequestMessage::getArgument(size_t argument) const in getArgument()
79 assert(argument < _argumentVector.size()); in getArgument()
81 return _argumentVector[argument]; in getArgument()
93 for (size_t argument = uiStartArgument; argument < uiStartArgument + uiNbArguments; in packArguments() local
94 argument++) { in packArguments()
104 strPackedArguments += _argumentVector[argument]; in packArguments()
117 for (size_t argument = 0; argument < getArgumentCount(); argument++) { in fillDataToSend() local
119 writeString(getArgument(argument)); in fillDataToSend()
/external/mesa3d/src/gallium/state_trackers/clover/tgsi/
Dcompiler.cpp43 compat::vector<module::argument> args; in read_header()
53 args.push_back({ module::argument::scalar, 4 }); in read_header()
55 args.push_back({ module::argument::global, 4 }); in read_header()
57 args.push_back({ module::argument::local, 4 }); in read_header()
59 args.push_back({ module::argument::constant, 4 }); in read_header()
61 args.push_back({ module::argument::image2d_rd, 4 }); in read_header()
63 args.push_back({ module::argument::image2d_wr, 4 }); in read_header()
65 args.push_back({ module::argument::image3d_rd, 4 }); in read_header()
67 args.push_back({ module::argument::image3d_wr, 4 }); in read_header()
69 args.push_back({ module::argument::sampler, 0 }); in read_header()
/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/mesa3d/src/gallium/state_trackers/clover/core/
Dkernel.hpp36 class argument;
69 class argument { class
71 argument(size_t size);
99 const std::vector<clover::module::argument> &args);
114 std::vector<std::unique_ptr<argument>> args;
120 class scalar_argument : public argument {
132 class global_argument : public argument {
144 class local_argument : public argument {
158 class constant_argument : public argument {
171 class image_rd_argument : public argument {
[all …]
Dkernel.cpp31 const std::vector<clover::module::argument> &args) : in _cl_kernel()
34 if (arg.type == module::argument::scalar) in _cl_kernel()
36 else if (arg.type == module::argument::global) in _cl_kernel()
38 else if (arg.type == module::argument::local) in _cl_kernel()
40 else if (arg.type == module::argument::constant) in _cl_kernel()
42 else if (arg.type == module::argument::image2d_rd || in _cl_kernel()
43 arg.type == module::argument::image3d_rd) in _cl_kernel()
45 else if (arg.type == module::argument::image2d_wr || in _cl_kernel()
46 arg.type == module::argument::image3d_wr) in _cl_kernel()
48 else if (arg.type == module::argument::sampler) in _cl_kernel()
[all …]
/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/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
162 Built-in matchers (where `argument` is the function argument) are
166 |`_`|`argument` can be any value of the correct type.|
168 |`A<type>()` or `An<type>()`|`argument` can be any value of type `type`. |
172 |`Eq(value)` or `value`|`argument == value`|
174 |`Ge(value)` |`argument >= value`|
175 |`Gt(value)` |`argument > value` |
176 |`Le(value)` |`argument <= value`|
177 |`Lt(value)` |`argument < value` |
[all …]
/external/googletest/googlemock/docs/v1_7/
DCheatSheet.md66 convention as the first argument to the macro. For example,
149 A **matcher** matches a _single_ argument. You can use it inside
157 Built-in matchers (where `argument` is the function argument) are
161 |`_`|`argument` can be any value of the correct type.|
163 |`A<type>()` or `An<type>()`|`argument` can be any value of type `type`. |
167 |`Eq(value)` or `value`|`argument == value`|
169 |`Ge(value)` |`argument >= value`|
170 |`Gt(value)` |`argument > value` |
171 |`Le(value)` |`argument <= value`|
172 |`Lt(value)` |`argument < value` |
[all …]
/external/googletest/googlemock/docs/v1_5/
DCheatSheet.md66 convention as the first argument to the macro. For example,
149 A **matcher** matches a _single_ argument. You can use it inside
157 Built-in matchers (where `argument` is the function argument) are
161 |`_`|`argument` can be any value of the correct type.|
163 |`A<type>()` or `An<type>()`|`argument` can be any value of type `type`. |
167 |`Eq(value)` or `value`|`argument == value`|
169 |`Ge(value)` |`argument >= value`|
170 |`Gt(value)` |`argument > value` |
171 |`Le(value)` |`argument <= value`|
172 |`Lt(value)` |`argument < value` |
[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/googletest/googlemock/docs/v1_6/
DCheatSheet.md66 convention as the first argument to the macro. For example,
149 A **matcher** matches a _single_ argument. You can use it inside
157 Built-in matchers (where `argument` is the function argument) are
161 |`_`|`argument` can be any value of the correct type.|
163 |`A<type>()` or `An<type>()`|`argument` can be any value of type `type`. |
167 |`Eq(value)` or `value`|`argument == value`|
169 |`Ge(value)` |`argument >= value`|
170 |`Gt(value)` |`argument > value` |
171 |`Le(value)` |`argument <= value`|
172 |`Lt(value)` |`argument < value` |
[all …]
/external/elfutils/tests/
Drun-readelf-line.sh43 [ 2] 1 argument
44 [ 3] 1 argument
45 [ 4] 1 argument
46 [ 5] 1 argument
50 [ 9] 1 argument
53 [12] 1 argument
98 [ 2] 1 argument
99 [ 3] 1 argument
100 [ 4] 1 argument
101 [ 5] 1 argument
[all …]
/external/mockito/src/test/java/org/mockitousage/bugs/
DArgumentCaptorDontCapturePreviouslyVerifiedTest.java18 ArgumentCaptor<String> argument = ArgumentCaptor.forClass(String.class); in previous_verified_invocation_should_still_capture_args() local
19 verify(mock, times(1)).oneArg(argument.capture()); in previous_verified_invocation_should_still_capture_args()
20 assertThat(argument.getAllValues()).hasSize(1); in previous_verified_invocation_should_still_capture_args()
24 argument = ArgumentCaptor.forClass(String.class); in previous_verified_invocation_should_still_capture_args()
25 verify(mock, times(2)).oneArg(argument.capture()); in previous_verified_invocation_should_still_capture_args()
26 assertThat(argument.getAllValues()).hasSize(2); in previous_verified_invocation_should_still_capture_args()
/external/mockito/src/main/java/org/mockito/internal/invocation/
DTypeSafeMatching.java23 public boolean apply(ArgumentMatcher matcher, Object argument) { in apply() argument
24 return isCompatible(matcher, argument) && matcher.matches(argument); in apply()
33 private static boolean isCompatible(ArgumentMatcher<?> argumentMatcher, Object argument) { in isCompatible() argument
34 if (argument == null) in isCompatible()
39 return expectedArgumentType.isInstance(argument); in isCompatible()

12345678910>>...71