Home
last modified time | relevance | path

Searched refs:txt_records (Results 1 – 25 of 56) sorted by relevance

123

/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/pdb/ztxt/
H A Dwriter.py31 txt_records, txt_length = self._generate_text(oeb_book)
37 for i in range(0, len(txt_records)):
39 txt_records[i] = compressor.compress(txt_records[i])
40 txt_records[i] = txt_records[i] + compressor.flush(zlib.Z_FULL_FLUSH)
41 section_lengths.append(len(txt_records[i]))
42 crc32 = zlib.crc32(txt_records[i], crc32) & 0xffffffff
44 header_record = self._header_record(txt_length, len(txt_records), crc32)
51 for record in [header_record]+txt_records:
64 txt_records = []
66 txt_records.append(txt[i * MAX_RECORD_SIZE : (i * MAX_RECORD_SIZE) + MAX_RECORD_SIZE])
[all …]
/dports/deskutils/calibre/calibre-src-5.34.0/src/calibre/ebooks/pdb/palmdoc/
H A Dwriter.py33 txt_records, txt_length = self._generate_text(oeb_book)
34 header_record = self._header_record(txt_length, len(txt_records))
38 for i in range(0, len(txt_records)):
40 txt_records[i] = compress_doc(txt_records[i])
41 section_lengths.append(len(txt_records[i]))
47 for record in [header_record] + txt_records:
60 txt_records = []
62 txt_records.append(txt[i * MAX_RECORD_SIZE: (i * MAX_RECORD_SIZE) + MAX_RECORD_SIZE])
64 return txt_records, txt_length
/dports/net/libdmapsharing/libdmapsharing-2.9.41/libdmapsharing/
H A Ddmap-mdns-publisher-dnssd.c68 _build_txt_record(gboolean password_required, gchar **txt_records, uint16_t *txt_len) in _build_txt_record() argument
73 for (_txt_records = txt_records; _txt_records && *_txt_records; _txt_records++) { in _build_txt_record()
89 for (; txt_records && *txt_records; txt_records++) { in _build_txt_record()
90 size_t len = strlen(*txt_records); in _build_txt_record()
96 memcpy(txt_record + i, *txt_records, len); in _build_txt_record()
116 gchar **txt_records, in dmap_mdns_publisher_publish() argument
125 txt_record = _build_txt_record(password_required, txt_records, &txt_len); in dmap_mdns_publisher_publish()
H A Ddmap-mdns-publisher-avahi.c51 gchar **txt_records; member
121 AvahiStringList *txt_records; in create_service() local
131 if (service->txt_records) { in create_service()
133 gchar **txt_record = service->txt_records; in create_service()
136 txt_records = in create_service()
137 avahi_string_list_add (txt_records, in create_service()
150 txt_records); in create_service()
152 avahi_string_list_free (txt_records); in create_service()
272 gchar ** txt_records, GError ** error) in dmap_mdns_publisher_publish() argument
291 service->txt_records = g_strdupv (txt_records); in dmap_mdns_publisher_publish()
[all …]
/dports/mail/py-postfix-mta-sts-resolver/postfix-mta-sts-resolver-1.1.1/postfix_mta_sts_resolver/
H A Dresolver.py61 txt_records = await asyncio.wait_for(
82 txt_records = filter_text(rec.text for rec in txt_records)
85 txt_records = [txt for txt in txt_records
89 if len(txt_records) != 1:
93 mta_sts_record = parse_mta_sts_record(txt_records[0])
/dports/devel/gvfs/gvfs-1.46.2/common/
H A Dgvfsdnssdresolver.c85 char **txt_records; member
382 g_strfreev (resolver->txt_records); in g_vfs_dns_sd_resolver_finalize()
775 return g_strdupv (resolver->txt_records); in g_vfs_dns_sd_resolver_get_txt_records()
792 if (resolver->txt_records == NULL) in g_vfs_dns_sd_resolver_lookup_txt_record()
934 char **txt_records; in set_avahi_data() local
993 if (strv_equal (resolver->txt_records, txt_records)) in set_avahi_data()
995 g_strfreev (txt_records); in set_avahi_data()
999 g_strfreev (resolver->txt_records); in set_avahi_data()
1000 resolver->txt_records = txt_records; in set_avahi_data()
1055 if (resolver->txt_records != NULL) in clear_avahi_data()
[all …]
/dports/net/py-avahi/avahi-0.8/avahi-daemon/
H A Dstatic-services.c66 AvahiStringList *txt_records; member
127 s->txt_records = NULL; in static_service_new()
161 avahi_string_list_free(s->txt_records); in static_service_free()
263 s->txt_records) < 0) { in add_static_service_group_to_server()
655 …u->service->txt_records = avahi_string_list_add_anonymous(u->service->txt_records, key_len + 1 + v… in xml_end()
656 memcpy(u->service->txt_records->text, u->txt_key, key_len); in xml_end()
657 u->service->txt_records->text[key_len] = '='; in xml_end()
658 memcpy(u->service->txt_records->text + key_len + 1, value_buf, value_buf_len); in xml_end()
663 … u->service->txt_records = avahi_string_list_add(u->service->txt_records, u->buf ? u->buf : ""); in xml_end()
/dports/net/avahi-gtk/avahi-0.8/avahi-daemon/
H A Dstatic-services.c66 AvahiStringList *txt_records; member
127 s->txt_records = NULL; in static_service_new()
161 avahi_string_list_free(s->txt_records); in static_service_free()
263 s->txt_records) < 0) { in add_static_service_group_to_server()
655 …u->service->txt_records = avahi_string_list_add_anonymous(u->service->txt_records, key_len + 1 + v… in xml_end()
656 memcpy(u->service->txt_records->text, u->txt_key, key_len); in xml_end()
657 u->service->txt_records->text[key_len] = '='; in xml_end()
658 memcpy(u->service->txt_records->text + key_len + 1, value_buf, value_buf_len); in xml_end()
663 … u->service->txt_records = avahi_string_list_add(u->service->txt_records, u->buf ? u->buf : ""); in xml_end()
/dports/net/avahi-libdns/avahi-0.8/avahi-daemon/
H A Dstatic-services.c66 AvahiStringList *txt_records; member
127 s->txt_records = NULL; in static_service_new()
161 avahi_string_list_free(s->txt_records); in static_service_free()
263 s->txt_records) < 0) { in add_static_service_group_to_server()
655 …u->service->txt_records = avahi_string_list_add_anonymous(u->service->txt_records, key_len + 1 + v… in xml_end()
656 memcpy(u->service->txt_records->text, u->txt_key, key_len); in xml_end()
657 u->service->txt_records->text[key_len] = '='; in xml_end()
658 memcpy(u->service->txt_records->text + key_len + 1, value_buf, value_buf_len); in xml_end()
663 … u->service->txt_records = avahi_string_list_add(u->service->txt_records, u->buf ? u->buf : ""); in xml_end()
/dports/net/avahi-qt5/avahi-0.8/avahi-daemon/
H A Dstatic-services.c66 AvahiStringList *txt_records; member
127 s->txt_records = NULL; in static_service_new()
161 avahi_string_list_free(s->txt_records); in static_service_free()
263 s->txt_records) < 0) { in add_static_service_group_to_server()
655 …u->service->txt_records = avahi_string_list_add_anonymous(u->service->txt_records, key_len + 1 + v… in xml_end()
656 memcpy(u->service->txt_records->text, u->txt_key, key_len); in xml_end()
657 u->service->txt_records->text[key_len] = '='; in xml_end()
658 memcpy(u->service->txt_records->text + key_len + 1, value_buf, value_buf_len); in xml_end()
663 … u->service->txt_records = avahi_string_list_add(u->service->txt_records, u->buf ? u->buf : ""); in xml_end()
/dports/net/avahi-app/avahi-0.8/avahi-daemon/
H A Dstatic-services.c66 AvahiStringList *txt_records; member
127 s->txt_records = NULL; in static_service_new()
161 avahi_string_list_free(s->txt_records); in static_service_free()
263 s->txt_records) < 0) { in add_static_service_group_to_server()
655 …u->service->txt_records = avahi_string_list_add_anonymous(u->service->txt_records, key_len + 1 + v… in xml_end()
656 memcpy(u->service->txt_records->text, u->txt_key, key_len); in xml_end()
657 u->service->txt_records->text[key_len] = '='; in xml_end()
658 memcpy(u->service->txt_records->text + key_len + 1, value_buf, value_buf_len); in xml_end()
663 … u->service->txt_records = avahi_string_list_add(u->service->txt_records, u->buf ? u->buf : ""); in xml_end()
/dports/net/avahi-sharp/avahi-0.8/avahi-daemon/
H A Dstatic-services.c66 AvahiStringList *txt_records; member
127 s->txt_records = NULL; in static_service_new()
161 avahi_string_list_free(s->txt_records); in static_service_free()
263 s->txt_records) < 0) { in add_static_service_group_to_server()
655 …u->service->txt_records = avahi_string_list_add_anonymous(u->service->txt_records, key_len + 1 + v… in xml_end()
656 memcpy(u->service->txt_records->text, u->txt_key, key_len); in xml_end()
657 u->service->txt_records->text[key_len] = '='; in xml_end()
658 memcpy(u->service->txt_records->text + key_len + 1, value_buf, value_buf_len); in xml_end()
663 … u->service->txt_records = avahi_string_list_add(u->service->txt_records, u->buf ? u->buf : ""); in xml_end()
/dports/net/avahi-autoipd/avahi-0.8/avahi-daemon/
H A Dstatic-services.c66 AvahiStringList *txt_records; member
127 s->txt_records = NULL; in static_service_new()
161 avahi_string_list_free(s->txt_records); in static_service_free()
263 s->txt_records) < 0) { in add_static_service_group_to_server()
655 …u->service->txt_records = avahi_string_list_add_anonymous(u->service->txt_records, key_len + 1 + v… in xml_end()
656 memcpy(u->service->txt_records->text, u->txt_key, key_len); in xml_end()
657 u->service->txt_records->text[key_len] = '='; in xml_end()
658 memcpy(u->service->txt_records->text + key_len + 1, value_buf, value_buf_len); in xml_end()
663 … u->service->txt_records = avahi_string_list_add(u->service->txt_records, u->buf ? u->buf : ""); in xml_end()
/dports/net/avahi-gtk3/avahi-0.8/avahi-daemon/
H A Dstatic-services.c66 AvahiStringList *txt_records; member
127 s->txt_records = NULL; in static_service_new()
161 avahi_string_list_free(s->txt_records); in static_service_free()
263 s->txt_records) < 0) { in add_static_service_group_to_server()
655 …u->service->txt_records = avahi_string_list_add_anonymous(u->service->txt_records, key_len + 1 + v… in xml_end()
656 memcpy(u->service->txt_records->text, u->txt_key, key_len); in xml_end()
657 u->service->txt_records->text[key_len] = '='; in xml_end()
658 memcpy(u->service->txt_records->text + key_len + 1, value_buf, value_buf_len); in xml_end()
663 … u->service->txt_records = avahi_string_list_add(u->service->txt_records, u->buf ? u->buf : ""); in xml_end()
/dports/net/avahi-header/avahi-0.8/avahi-daemon/
H A Dstatic-services.c66 AvahiStringList *txt_records; member
127 s->txt_records = NULL; in static_service_new()
161 avahi_string_list_free(s->txt_records); in static_service_free()
263 s->txt_records) < 0) { in add_static_service_group_to_server()
655 …u->service->txt_records = avahi_string_list_add_anonymous(u->service->txt_records, key_len + 1 + v… in xml_end()
656 memcpy(u->service->txt_records->text, u->txt_key, key_len); in xml_end()
657 u->service->txt_records->text[key_len] = '='; in xml_end()
658 memcpy(u->service->txt_records->text + key_len + 1, value_buf, value_buf_len); in xml_end()
663 … u->service->txt_records = avahi_string_list_add(u->service->txt_records, u->buf ? u->buf : ""); in xml_end()
/dports/net-im/libpurple/pidgin-2.14.8/libpurple/protocols/bonjour/
H A Dmdns_common.c150 GSList *txt_records; in publish_presence() local
153 txt_records = generate_presence_txt_records(data); in publish_presence()
154 ret = _mdns_publish(data, type, txt_records); in publish_presence()
155 free_presence_txt_records(txt_records); in publish_presence()
/dports/net-im/pidgin/pidgin-2.14.8/libpurple/protocols/bonjour/
H A Dmdns_common.c150 GSList *txt_records; in publish_presence() local
153 txt_records = generate_presence_txt_records(data); in publish_presence()
154 ret = _mdns_publish(data, type, txt_records); in publish_presence()
155 free_presence_txt_records(txt_records); in publish_presence()
/dports/net-im/finch/pidgin-2.14.8/libpurple/protocols/bonjour/
H A Dmdns_common.c150 GSList *txt_records; in publish_presence() local
153 txt_records = generate_presence_txt_records(data); in publish_presence()
154 ret = _mdns_publish(data, type, txt_records); in publish_presence()
155 free_presence_txt_records(txt_records); in publish_presence()
/dports/mail/evolution/evolution-3.42.1/src/modules/config-lookup/
H A De-srv-config-lookup.c193 GList *txt_records; in srv_config_lookup_domain_sync() local
197txt_records = g_resolver_lookup_records (resolver, tmp, G_RESOLVER_RECORD_TXT, cancellable, NULL); in srv_config_lookup_domain_sync()
200 if (txt_records) { in srv_config_lookup_domain_sync()
203 for (txt_record = txt_records; txt_record; txt_record = g_list_next (txt_record)) { in srv_config_lookup_domain_sync()
226 g_list_free_full (txt_records, (GDestroyNotify) g_variant_unref); in srv_config_lookup_domain_sync()
/dports/mail/p5-Mail-DKIM/Mail-DKIM-1.20200907/t/
H A DArcTestSuite.pm125 my $txt_records = $scenario->{'txt-records'} || q{};
140 foreach my $Record ( sort keys %$txt_records ) {
141 my $Txt = $txt_records->{$Record};
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/
H A Dverify_pages_domain_service.rb89 records = parse(txt_records(domain_name + '.', resolver))
99 def txt_records(domain_name, resolver) method in VerifyPagesDomainService
/dports/sysutils/py-salt/salt-3004.1/salt/states/
H A Dazurearm_dns.py401 txt_records=None,
652 txt_records=txt_records,
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/network/
H A DZeroconfBrowser.cpp208 void CZeroconfBrowser::ZeroconfService::SetTxtRecords(const tTxtRecordMap& txt_records) in SetTxtRecords() argument
210 m_txtrecords_map = txt_records; in SetTxtRecords()
/dports/devel/py-azure-mgmt-dns/azure-mgmt-dns-8.0.0/azure/mgmt/dns/v2018_03_01_preview/models/
H A D_models_py3.py297 txt_records: Optional[List["TxtRecord"]] = None,
317 self.txt_records = txt_records
/dports/devel/py-azure-mgmt-privatedns/azure-mgmt-privatedns-1.0.0/azure/mgmt/privatedns/models/
H A D_models_py3.py483 txt_records: Optional[List["TxtRecord"]] = None,
499 self.txt_records = txt_records

123