Home
last modified time | relevance | path

Searched refs:get_short (Results 1 – 21 of 21) sorted by relevance

/third_party/rust/crates/clap/tests/
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(), Some('b')); in short_with_value()
[all …]
/third_party/rust/crates/clap/clap_complete/src/generator/
Dutils.rs65 if a.get_visible_short_aliases().is_some() && a.get_short().is_some() { in shorts_and_visible_aliases()
67 shorts_and_visible_aliases.push(a.get_short().unwrap()); in shorts_and_visible_aliases()
69 } else if a.get_visible_short_aliases().is_none() && a.get_short().is_some() { in shorts_and_visible_aliases()
70 Some(vec![a.get_short().unwrap()]) in shorts_and_visible_aliases()
/third_party/rust/crates/clap/src/
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/flutter/skia/src/codec/
DSkBmpCodec.cpp240 bitsPerPixel = get_short(iBuffer.get(), 10); in ReadHeader()
257 width = (int) get_short(iBuffer.get(), 0); in ReadHeader()
258 height = (int) get_short(iBuffer.get(), 2); in ReadHeader()
259 bitsPerPixel = get_short(iBuffer.get(), 6); in ReadHeader()
DSkCodecPriv.h152 static inline uint16_t get_short(uint8_t* buffer, uint32_t i) { in get_short() function
DSkIcoCodec.cpp44 const uint16_t numImages = get_short(dirBuffer.get(), 4); in MakeFromStream()
/third_party/skia/src/codec/
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()
DSkCodecPriv.h152 static inline uint16_t get_short(const uint8_t* buffer, uint32_t i) { in get_short() function
DSkIcoCodec.cpp60 const uint16_t numImages = get_short(data->bytes(), 4); in MakeFromStream()
/third_party/rust/crates/clap/src/builder/
Ddebug_asserts.rs70 if let Some(s) = arg.get_short() { in assert_app()
119 if let Some(s) = arg.get_short() { in assert_app()
120 if let Some((first, second)) = cmd.two_args_of(|x| x.get_short() == Some(s)) { in assert_app()
251 arg.get_short().is_none(), in assert_app()
Darg.rs3734 pub fn get_short(&self) -> Option<char> { in get_short() method
3931 self.get_long().is_none() && self.get_short().is_none() in is_positional()
4147 } else if let Some(s) = self.get_short() { in stylized()
/third_party/rust/crates/clap/src/output/
Dhelp_template.rs487 if let Some(s) = arg.get_short() { in short()
498 if arg.get_short().is_some() { in long()
969 let key = if let Some(x) = arg.get_short() { in option_sort_key()
1025 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/
Drender.rs36 match (opt.get_short(), opt.get_long()) { in synopsis()
93 let mut header = match (opt.get_short(), opt.get_long()) { in options()
/third_party/rust/crates/clap/clap_complete/src/shells/
Dzsh.rs504 if let Some(s) = conflict.get_short() {
556 if let Some(short) = f.get_short() {
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-layout-gpos-table.hh116 if (format & xPlacement) glyph_pos.x_offset += font->em_scale_x (get_short (values++, &ret)); in apply_value()
117 if (format & yPlacement) glyph_pos.y_offset += font->em_scale_y (get_short (values++, &ret)); in apply_value()
119 if (likely (horizontal)) glyph_pos.x_advance += font->em_scale_x (get_short (values, &ret)); in apply_value()
124 … if (unlikely (!horizontal)) glyph_pos.y_advance -= font->em_scale_y (get_short (values, &ret)); in apply_value()
184 HB_INTERNAL static const HBINT16& get_short (const Value* value, bool *worked=nullptr) in get_short() function
/third_party/rust/crates/clap/clap_complete_fig/src/
Dfig.rs479 if let Some(s) = conflict.get_short() { in arg_conflicts()
/third_party/skia/third_party/externals/harfbuzz/src/
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/harfbuzz/src/
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/
Dhelp.rs2639 assert_eq!(help.get_short(), None); in help_without_short()
/third_party/libabigail/tests/data/test-annotate/
Dtest17-pr19027.so.abi27071 <!-- const OT::SHORT& OT::ValueFormat::get_short() -->
27072 …<function-decl name='get_short' mangled-name='_ZN2OT11ValueFormat9get_shortEPKNS_7IntTypeItLj2EEE'…
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest17-pr19027.so.abi17329 …<function-decl name='get_short' mangled-name='_ZN2OT11ValueFormat9get_shortEPKNS_7IntTypeItLj2EEE'…