Home
last modified time | relevance | path

Searched refs:get_short (Results 1 - 12 of 12) sorted by relevance

/third_party/rust/crates/clap/tests/
H A Dmacros.rs45 assert_eq!(arg.get_short(), Some('b')); in short()
53 assert_eq!(arg.get_short(), Some('b')); in short()
61 assert_eq!(arg.get_short(), Some('b')); in short()
69 assert_eq!(arg.get_short(), Some('b')); in short()
84 assert_eq!(arg.get_short(), Some('b')); in short_and_long()
93 assert_eq!(arg.get_short(), Some('b')); in short_and_long()
102 assert_eq!(arg.get_short(), Some('b')); in short_and_long()
111 assert_eq!(arg.get_short(), Some('b')); in short_and_long()
191 assert_eq!(arg.get_short(), Some('b')); in short_with_value()
199 assert_eq!(arg.get_short(), Som in short_with_value()
[all...]
/third_party/rust/crates/clap/src/
H A Dmacros.rs296 if arg.get_long().is_none() && arg.get_short().is_none() {
323 if arg.get_long().is_none() && arg.get_short().is_none() {
350 if arg.get_long().is_none() && arg.get_short().is_none() {
379 if arg.get_long().is_none() && arg.get_short().is_none() {
405 if $arg.get_long().is_none() && $arg.get_short().is_none() {
/third_party/rust/crates/clap/src/builder/
H A Ddebug_asserts.rs70 if let Some(s) = arg.get_short() {
113 if let Some(s) = arg.get_short() {
114 if let Some((first, second)) = cmd.two_args_of(|x| x.get_short() == Some(s)) {
245 arg.get_short().is_none(),
H A Darg.rs3735 pub fn get_short(&self) -> Option<char> { in get_short() functions
3932 self.get_long().is_none() && self.get_short().is_none() in is_positional()
4148 } else if let Some(s) = self.get_short() {
/third_party/skia/src/codec/
H A DSkBmpCodec.cpp243 bitsPerPixel = get_short(iBuffer.get(), 10); in ReadHeader()
260 width = (int) get_short(iBuffer.get(), 0); in ReadHeader()
261 height = (int) get_short(iBuffer.get(), 2); in ReadHeader()
262 bitsPerPixel = get_short(iBuffer.get(), 6); in ReadHeader()
H A DSkIcoCodec.cpp60 const uint16_t numImages = get_short(data->bytes(), 4); in MakeFromStream()
116 uint16_t bitsPerPixel = get_short(entryBuffer, 6); in MakeFromStream()
H A DSkCodecPriv.h152 static inline uint16_t get_short(const uint8_t* buffer, uint32_t i) { in get_short() function
/third_party/rust/crates/clap/src/output/
H A Dhelp_template.rs492 if let Some(s) = arg.get_short() { in short()
503 if arg.get_short().is_some() { in long()
974 let key = if let Some(x) = arg.get_short() { in option_sort_key()
1030 arg.is_takes_value_set() || arg.get_long().is_some() || arg.get_short().is_none() in longest_filter()
/third_party/rust/crates/clap/clap_mangen/src/
H A Drender.rs36 match (opt.get_short(), opt.get_long()) {
93 let mut header = match (opt.get_short(), opt.get_long()) {
/third_party/rust/crates/clap/clap_complete_fig/src/
H A Dfig.rs479 if let Some(s) = conflict.get_short() { in arg_conflicts()
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-ot-layout-gpos-table.hh123 if (format & xPlacement) glyph_pos.x_offset += font->em_scale_x (get_short (values++, &ret)); in apply_value()
124 if (format & yPlacement) glyph_pos.y_offset += font->em_scale_y (get_short (values++, &ret)); in apply_value()
126 if (likely (horizontal)) glyph_pos.x_advance += font->em_scale_x (get_short (values, &ret)); in apply_value()
131 if (unlikely (!horizontal)) glyph_pos.y_advance -= font->em_scale_y (get_short (values, &ret)); in apply_value()
303 static inline const HBINT16& get_short (const Value* value, bool *worked=nullptr) in get_short() function
/third_party/rust/crates/clap/tests/builder/
H A Dhelp.rs2662 assert_eq!(help.get_short(), None); in help_without_short()

Completed in 18 milliseconds