Home
last modified time | relevance | path

Searched refs:display_name (Results 1 – 25 of 32) sorted by relevance

12

/third_party/python/Lib/test/test_email/
Dtest__header_value_parser.py1668 display_name = self._test_get_x(parser.get_display_name,
1674 self.assertEqual(display_name.token_type, 'display-name')
1675 self.assertEqual(display_name.display_name, 'Fred A Johnson')
1678 display_name = self._test_get_x(parser.get_display_name,
1684 self.assertEqual(display_name.token_type, 'display-name')
1685 self.assertEqual(display_name.display_name, 'Fred A. Johnson is his name')
1688 display_name = self._test_get_x(parser.get_display_name,
1694 self.assertEqual(display_name[0][0].comments, ['A'])
1695 self.assertEqual(display_name[0][2].comments, ['in (my|your)'])
1696 self.assertEqual(display_name.display_name, 'bird hand is messy')
[all …]
Dtest_headerregistry.py1234 def example_as_address(self, source, defects, decoded, display_name, argument
1244 self.assertEqual(a.display_name, display_name)
1251 def example_as_group(self, source, defects, decoded, display_name, argument
1263 self.assertEqual(a.display_name, display_name)
1281 self.assertEqual(h.addresses[2].display_name,
1305 self.assertEqual(h.groups[0].display_name, 'dummy list')
1306 self.assertEqual(h.groups[1].display_name, 'another')
1307 self.assertEqual(h.groups[6].display_name, 'A "list"')
1310 self.assertIsNone(h.groups[i+2].display_name)
1313 self.assertIsNone(h.groups[i].display_name)
[all …]
Dtest_generator.py297 msg["From"] = Address(addr_spec="foo@bar.com", display_name="Páolo")
298 msg["To"] = Address(addr_spec="bar@foo.com", display_name="Dinsdale")
/third_party/python/Lib/email/
Dheaderregistry.py14 def __init__(self, display_name='', username='', domain='', addr_spec=None): argument
31 inputs = ''.join(filter(None, (display_name, username, domain, addr_spec)))
52 self._display_name = display_name
57 def display_name(self): member in Address
85 self.display_name, self.username, self.domain)
88 disp = self.display_name
99 return (self.display_name == other.display_name and
106 def __init__(self, display_name=None, addresses=None): argument
121 self._display_name = display_name
125 def display_name(self): member in Group
[all …]
D_header_value_parser.py313 def display_name(self): member in Address
315 return self[0].display_name
381 def display_name(self): member in Group
382 return self[0].display_name
390 def display_name(self): member in NameAddr
393 return self[0].display_name
460 def display_name(self): member in Mailbox
462 return self[0].display_name
487 def display_name(self): member in InvalidMailbox
490 local_part = domain = route = addr_spec = display_name
[all …]
/third_party/rust/crates/rust-cexpr/tests/
Dclang.rs40 let display_name = String::from_utf8_lossy(&ident).into_owned(); in test_definition() localVariable
48 .expect(&format!("Invalid definition in testcase: {}", display_name)); in test_definition()
59 .expect(&format!("Invalid definition in testcase: {}", display_name)); in test_definition()
99 .expect(&format!("Invalid definition in testcase: {}", display_name)) in test_definition()
117 display_name in test_definition()
125 display_name, e in test_definition()
141 panic!("Duplicate definition for testcase: {}", display_name); in test_definition()
147 display_name, test, val in test_definition()
158 display_name, test, e in test_definition()
/third_party/ffmpeg/libavdevice/
Ddecklink_common.cpp407 const char *display_name = NULL; in ff_decklink_list_devices() local
412 ret = decklink_get_attr_string(dl, BMDDeckLinkDisplayName, &display_name); in ff_decklink_list_devices()
440 new_device->device_name = av_strdup(unique_name ? unique_name : display_name); in ff_decklink_list_devices()
441 new_device->device_description = av_strdup(display_name); in ff_decklink_list_devices()
455 av_freep(&display_name); in ff_decklink_list_devices()
565 const char *display_name = NULL; in ff_decklink_init_device() local
567 decklink_get_attr_string(dl, BMDDeckLinkDisplayName, &display_name); in ff_decklink_init_device()
569 … if (display_name && !strcmp(name, display_name) || unique_name && !strcmp(name, unique_name)) { in ff_decklink_init_device()
571 av_free((void *)display_name); in ff_decklink_init_device()
575 av_free((void *)display_name); in ff_decklink_init_device()
Dxcbgrab.c822 char *display_name = av_strdup(s->url); in xcbgrab_read_header() local
824 if (!display_name) in xcbgrab_read_header()
827 if (!sscanf(s->url, "%[^+]+%d,%d", display_name, &c->x, &c->y)) { in xcbgrab_read_header()
828 *display_name = 0; in xcbgrab_read_header()
832 c->conn = xcb_connect(display_name[0] ? display_name : NULL, &screen_num); in xcbgrab_read_header()
833 av_freep(&display_name); in xcbgrab_read_header()
Dxv.c54 char *display_name; member
129 xv->display = XOpenDisplay(xv->display_name); in xv_write_header()
131 av_log(s, AV_LOG_ERROR, "Could not open the X11 display '%s'\n", xv->display_name); in xv_write_header()
361 …{ "display_name", "set display name", OFFSET(display_name), AV_OPT_TYPE_STRING, {.str = NULL…
/third_party/gn/examples/ios/build/config/ios/templates/
Dios_binary_bundle.gni37 # - display_name (optional)
64 if (defined(invoker.display_name)) {
65 _display_name = invoker.display_name
106 "display_name",
Dios_app_bundle.gni82 "display_name",
Dios_framework_bundle.gni59 "display_name",
/third_party/rust/crates/clap/src/builder/
Dcommand.rs75 display_name: Option<String>, field
1448 pub fn display_name(mut self, name: impl IntoResettable<String>) -> Self { in display_name() method
1449 self.display_name = name.into_resettable().into_option(); in display_name()
3220 self.display_name.as_deref() in get_display_name()
3983 if sc.display_name.is_none() { in _build_subcommand()
3985 self.display_name.as_deref().unwrap_or("") in _build_subcommand()
3987 self.display_name.as_deref().unwrap_or(&self.name) in _build_subcommand()
3989 let display_name = format!( in _build_subcommand() localVariable
4001 sc.name, display_name in _build_subcommand()
4003 sc.display_name = Some(display_name); in _build_subcommand()
[all …]
/third_party/python/Doc/library/
Demail.headerregistry.rst196 ``Groups`` whose :attr:`~.Group.display_name` is ``None``.
215 ``display_name`` is ``None`` will be interpreted as single addresses, which
375 .. class:: Address(display_name='', username='', domain='', addr_spec=None)
380 [display_name] <username@domain>
396 .. attribute:: display_name
427 .. class:: Group(display_name=None, addresses=None)
432 display_name: [address-list];
436 single addresses that are not part of a group by setting *display_name* to
439 .. attribute:: display_name
441 The ``display_name`` of the group. If it is ``None`` and there is
[all …]
/third_party/pulseaudio/src/modules/
Dmodule-rygel-media-server.c171 char *display_name; member
372 const char *display_name; in append_variant_item_display_name() local
376display_name = pa_strna(pa_proplist_gets(sink ? sink->proplist : source->proplist, PA_PROP_DEVICE_… in append_variant_item_display_name()
377 append_variant_string(m, iter, display_name); in append_variant_item_display_name()
708 append_variant_string(r, NULL, u->display_name); in root_handler()
721 append_property_dict_entry_string(r, &sub, "DisplayName", u->display_name); in root_handler()
1059 u->display_name = pa_utf8_filter(t); in pa__init()
1061 u->display_name = pa_xstrdup(_("Audio on @HOSTNAME@")); in pa__init()
1128 pa_xfree(u->display_name); in pa__done()
/third_party/cups-filters/filter/braille/filters/
Dliblouis1.defs.gen.in50 display_name=$(grep ^#-display-name: "$i" | cut -d ' ' -f 2-)
51 if [ -n "$display_name" ]; then
53 DISPLAY_NAME=$display_name
/third_party/python/Doc/includes/
Demail-headers.py24 print('Sender name: {}'.format(headers['from'].addresses[0].display_name))
/third_party/glib/patch/
Dbackport-Implement-GFileIface.set_display_name-for-resource-files.patch28 + const char *display_name,
/third_party/skia/third_party/externals/swiftshader/src/Main/
DlibX11.hpp27 Display *(*XOpenDisplay)(char *display_name);
/third_party/skia/third_party/externals/swiftshader/src/WSI/
DlibX11.hpp28 Display *(*XOpenDisplay)(char *display_name) = nullptr;
/third_party/protobuf/src/google/protobuf/
Dfield_mask.proto193 // string display_name = 1;
200 // paths: "user.display_name"
/third_party/rust/crates/clap/src/output/
Dhelp_template.rs225 let display_name = wrap( in write_display_name() localVariable
233 self.none(&display_name); in write_display_name()
/third_party/cmsis/
DREADME.md5 …Version](https://img.shields.io/github/v/release/arm-software/CMSIS_6?display_name=release&label=%…
/third_party/python/Doc/whatsnew/
D3.3.rst1295 (Address(display_name='Éric', username='foo', domain='example.com'),)
1298 >>> m['to'].addresses[0].display_name
1336 …(display_name='Bob', username='bob', domain='example.com'), Address(display_name='Sally', username…
1338display_name='pals', addresses=(Address(display_name='Bob', username='bob', domain='example.com'),…
/third_party/node/tools/gyp/pylib/gyp/generator/
Dmsvs.py2403 self.display_name = rule["rule_name"]
2405 self.rule_name = re.sub(r"\W", "_", self.display_name)
2707 "DisplayName": rule.display_name,
2890 {"Name": rule.rule_name, "DisplayName": rule.display_name},

12