Searched refs:min_values (Results 1 – 10 of 10) sorted by relevance
/third_party/rust/crates/clap/src/error/ |
D | format.rs | 294 let min_values = error.get(ContextKind::MinValues); in write_dynamic_context() localVariable 298 Some(ContextValue::Number(min_values)), in write_dynamic_context() 299 ) = (invalid_arg, actual_num_values, min_values) in write_dynamic_context() 302 styled.warning(min_values.to_string()); in write_dynamic_context()
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cFramebufferNoAttachmentsTests.cpp | 229 GLint min_values[] = { 0, 0, 0, -1 }; // Skip min_value test for boolean in iterate() local 440 if (min_values[k] >= 0) in iterate() 442 gl.framebufferParameteri(target, pname, min_values[k] - 1); in iterate()
|
D | es31cComputeShaderTests.cpp | 1896 bool CheckIndexed(GLenum target, const GLint* min_values) in CheckIndexed() argument 1904 if (i < min_values[c]) in CheckIndexed() 1907 << min_values[c] << tcu::TestLog::EndMessage; in CheckIndexed() 1914 if (static_cast<GLint>(i64) < min_values[c]) in CheckIndexed() 1918 << min_values[c] << tcu::TestLog::EndMessage; in CheckIndexed()
|
/third_party/rust/crates/clap/src/builder/ |
D | range.rs | 57 pub fn min_values(&self) -> usize { in min_values() method
|
D | arg.rs | 3852 self.get_num_args().expect(INTERNAL_ERROR_MSG).min_values() in get_min_vals() 4201 let min = num_vals.min_values().max(1); in render_arg_val() 4208 let arg_name = if self.is_positional() && (num_vals.min_values() == 0 || !required) { in render_arg_val()
|
D | debug_asserts.rs | 791 if 1 < num_vals.min_values() { in assert_arg()
|
/third_party/rust/crates/clap/src/parser/ |
D | parser.rs | 1311 if 0 < expected.min_values() && actual == 0 { in verify_num_args() 1334 } else if actual < expected.min_values() { in verify_num_args() 1338 expected.min_values(), in verify_num_args()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cComputeShaderTests.cpp | 2216 bool CheckIndexed(GLenum target, const GLint* min_values) in CheckIndexed() argument 2227 if (i < min_values[c]) in CheckIndexed() 2230 << min_values[c] << "." << tcu::TestLog::EndMessage; in CheckIndexed() 2237 if (i64 < static_cast<GLint64>(min_values[c])) in CheckIndexed() 2241 << static_cast<GLint64>(min_values[c]) << "." << tcu::TestLog::EndMessage; in CheckIndexed() 2248 if (f < static_cast<GLfloat>(min_values[c])) in CheckIndexed() 2252 << static_cast<GLfloat>(min_values[c]) << "." << tcu::TestLog::EndMessage; in CheckIndexed() 2259 if (d < static_cast<GLdouble>(min_values[c])) in CheckIndexed() 2263 << static_cast<GLdouble>(min_values[c]) << "." << tcu::TestLog::EndMessage; in CheckIndexed() 2270 if (b != (min_values[c] ? GL_TRUE : GL_FALSE)) in CheckIndexed() [all …]
|
/third_party/rust/crates/clap/clap_complete/src/shells/ |
D | zsh.rs | 464 let vc = vc.repeat(o.get_num_args().expect("built").min_values());
|
/third_party/rust/crates/clap/ |
D | CHANGELOG.md | 286 - `Arg::min_values(2)` 489 - Replace `Arg::min_values` (across all occurrences) with `Arg::num_args(N..)` (per occurrence) to … 1288 - Changed `Arg::index`, `Arg::number_of_values`, `Arg::min_values`, `Arg::max_values` to taking `us… 1751 * fixes using require_equals(true) and min_values(0) together ([10ae208f](https://github.com/clap…
|