Home
last modified time | relevance | path

Searched refs:min_values (Results 1 – 10 of 10) sorted by relevance

/third_party/rust/crates/clap/src/error/
Dformat.rs294 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/
Des31cFramebufferNoAttachmentsTests.cpp229 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()
Des31cComputeShaderTests.cpp1896 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/
Drange.rs57 pub fn min_values(&self) -> usize { in min_values() method
Darg.rs3852 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()
Ddebug_asserts.rs791 if 1 < num_vals.min_values() { in assert_arg()
/third_party/rust/crates/clap/src/parser/
Dparser.rs1311 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/
Dgl4cComputeShaderTests.cpp2216 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/
Dzsh.rs464 let vc = vc.repeat(o.get_num_args().expect("built").min_values());
/third_party/rust/crates/clap/
DCHANGELOG.md286 - `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…