Home
last modified time | relevance | path

Searched refs:domain (Results 1 – 25 of 96) sorted by relevance

1234

/PHP-8.1/ext/gettext/
H A Dgettext.c75 zend_string *domain = NULL; in PHP_FUNCTION() local
81 if (domain != NULL && ZSTR_LEN(domain) != 0 && !zend_string_equals_literal(domain, "0")) { in PHP_FUNCTION()
83 domain_name = ZSTR_VAL(domain); in PHP_FUNCTION()
117 zend_string *domain, *msgid; in PHP_FUNCTION() local
140 zend_string *domain, *msgid; in PHP_FUNCTION() local
163 char *domain; in PHP_FUNCTION() local
174 if (domain[0] == '\0') { in PHP_FUNCTION()
180 RETURN_STRING(bindtextdomain(domain, NULL)); in PHP_FUNCTION()
191 retval = bindtextdomain(domain, dir_name); in PHP_FUNCTION()
224 char *domain, *msgid1, *msgid2, *msgstr = NULL; in PHP_FUNCTION() local
[all …]
H A Dgettext.stub.php6 function textdomain(?string $domain): string {} argument
15 function dgettext(string $domain, string $message): string {} argument
18 function dcgettext(string $domain, string $message, int $category): string {} argument
21 function bindtextdomain(string $domain, ?string $directory): string|false {} argument
30 function dngettext(string $domain, string $singular, string $plural, int $count): string {} argument
35 function dcngettext(string $domain, string $singular, string $plural, int $count, int $category): s… argument
40 function bind_textdomain_codeset(string $domain, ?string $codeset): string|false {} argument
H A Dgettext_arginfo.h5 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 1)
15 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0)
20 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0)
26 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0)
40 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0)
49 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0)
59 ZEND_ARG_TYPE_INFO(0, domain, IS_STRING, 0)
/PHP-8.1/ext/intl/tests/
H A Dbug72506.phpt2 Bug #72506 (idn_to_ascii with INTL_IDNA_VARIANT_UTS46 fatals for long domain names)
14 // ASCII domain name with 255 characters
15 $domain = str_repeat('a.', 126) . 'aaa';
16 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info);
19 // ASCII domain name with 256 characters – one character added
20 $domain .= 'a';
21 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info);
24 // International domain name with cyrillic "ф" characters
25 $domain = str_repeat('ф.', 32) . 'a';
26 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info);
/PHP-8.1/ext/ldap/tests/
H A Dldap_delete_ext.phpt18 ldap_add($link, "dc=my-domain,$base", array(
23 "dc" => "my-domain",
24 "o" => "my-domain",
28 $result = ldap_delete_ext($link, "dc=my-domain,$base",
35 @ldap_search($link, "dc=my-domain,$base", "(o=my-domain)")
44 ldap_delete($link, "dc=my-domain,$base");
58 string(%d) "dc=my-domain,%s"
62 string(9) "my-domain"
67 string(9) "my-domain"
H A Dldap_delete_basic.phpt15 ldap_add($link, "dc=my-domain,$base", array(
20 "dc" => "my-domain",
21 "o" => "my-domain",
25 ldap_delete($link, "dc=my-domain,$base"),
26 @ldap_search($link, "dc=my-domain,$base", "(o=my-domain)")
35 ldap_delete($link, "dc=my-domain,$base");
H A Dldap_add_basic.phpt17 ldap_add($link, "dc=my-domain,$base", array(
22 "dc" => "my-domain",
23 "o" => "my-domain",
27 ldap_search($link, "$base", "(o=my-domain)")
37 ldap_delete($link, "dc=my-domain,$base");
64 string(9) "my-domain"
73 string(9) "my-domain"
80 string(%d) "dc=my-domain,%s"
H A Dldap_mod_add_error.phpt17 var_dump(ldap_mod_add($link, "dc=my-domain,$base", array()));
27 "dc" => "my-domain",
28 "o" => "my-domain",
31 ldap_add($link, "dc=my-domain,$base", $entry);
36 var_dump(ldap_mod_add($link, "dc=my-domain,$base", $entry2));
41 var_dump(ldap_mod_add($link, "dc=my-domain,$base", $entry2));
49 ldap_delete($link, "dc=my-domain,$base");
H A Dldap_modify_batch_error.phpt36 "dc" => "my-domain",
37 "o" => "my-domain",
40 ldap_add($link, "dc=my-domain,$base", $entry);
42 // invalid domain
51 var_dump(ldap_modify_batch($link, "dc=my-domain,$base", $mods));
62 var_dump(ldap_modify_batch($link, "dc=my-domain,$base", $mods));
70 ldap_delete($link, "dc=my-domain,$base");
H A Dldap_modify_error.phpt27 "dc" => "my-domain",
28 "o" => "my-domain",
31 ldap_add($link, "dc=my-domain,$base", $entry);
36 var_dump(ldap_modify($link, "dc=my-domain,$base", $entry2));
41 var_dump(ldap_modify($link, "dc=my-domain,$base", $entry2));
49 ldap_delete($link, "dc=my-domain,$base");
H A Dldap_add_error.phpt30 ldap_add($link, "dc=my-domain,$base", array(
35 "dc" => "my-domain",
36 "o" => "my-domain",
48 "dc" => "my-domain",
49 "o" => "my-domain",
67 "dc" => "my-domain",
68 "o" => "my-domain",
91 ldap_delete($link, "dc=my-domain,$base");
/PHP-8.1/ext/gettext/tests/
H A D44938.phpt9 $domain = "domain";
25 dngettext($domain, $overflown, $msgid, 1);
31 dngettext($domain, $msgid, $overflown, 1);
61 dcgettext($domain, $overflown, -1);
91 dgettext($domain, $overflown);
104 bindtextdomain(): Argument #1 ($domain) is too long
105 dngettext(): Argument #1 ($domain) is too long
111 dcgettext(): Argument #1 ($domain) is too long
113 dcngettext(): Argument #1 ($domain) is too long
116 dgettext(): Argument #1 ($domain) is too long
[all …]
H A Dbug66267.phpt25 $domain = 'domain';
34 bindtextdomain($domain, $path);
35 bind_textdomain_codeset($domain, "UTF-8");
36 textdomain($domain);
/PHP-8.1/win32/
H A Dsockets.c27 PHPAPI int socketpair_win32(int domain, int type, int protocol, SOCKET sock[2], int overlapped) in socketpair_win32() argument
33 if (domain != AF_INET) { in socketpair_win32()
40 sock[0] = socket(domain, type, protocol); in socketpair_win32()
62 sock[1] = socket(domain, type, protocol); in socketpair_win32()
64 sock[1] = WSASocket(domain, type, protocol, NULL, 0, 0); in socketpair_win32()
94 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]) in socketpair() argument
96 return socketpair_win32(domain, type, protocol, sock, 1); in socketpair()
H A Dsockets.h25 PHPAPI int socketpair_win32(int domain, int type, int protocol, SOCKET sock[2], int overlapped);
26 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]);
/PHP-8.1/ext/intl/idn/
H A Didn.c120 const zend_string *domain, uint32_t option, int mode, zval *idna_info) in php_intl_idn_to_46() argument
136 len = uidna_nameToASCII_UTF8(uts46, ZSTR_VAL(domain), ZSTR_LEN(domain), in php_intl_idn_to_46()
146 len = uidna_nameToUnicodeUTF8(uts46, ZSTR_VAL(domain), ZSTR_LEN(domain), in php_intl_idn_to_46()
177 zend_string *domain; in php_intl_idn_handoff() local
185 &domain, &option, &variant, &idna_info) == FAILURE) { in php_intl_idn_handoff()
194 if (ZSTR_LEN(domain) < 1) { in php_intl_idn_handoff()
198 if (ZSTR_LEN(domain) > INT32_MAX - 1) { in php_intl_idn_handoff()
211 php_intl_idn_to_46(INTERNAL_FUNCTION_PARAM_PASSTHRU, domain, (uint32_t)option, mode, idna_info); in php_intl_idn_handoff()
/PHP-8.1/ext/session/tests/
H A Dsession_get_cookie_params_variation1.phpt45 ["domain"]=>
59 ["domain"]=>
73 ["domain"]=>
87 ["domain"]=>
101 ["domain"]=>
115 ["domain"]=>
129 ["domain"]=>
H A Dsession_get_cookie_params_basic.phpt29 "domain" => "baz",
45 ["domain"]=>
60 ["domain"]=>
75 ["domain"]=>
90 ["domain"]=>
/PHP-8.1/ext/sockets/tests/
H A Dsocket_create_pair.phpt9 $domain = AF_INET;
11 $domain = AF_UNIX;
13 socket_create_pair($domain, SOCK_STREAM, 0, $sockets);
H A Dsocket_select.phpt9 $domain = AF_INET;
11 $domain = AF_UNIX;
13 socket_create_pair($domain, SOCK_STREAM, 0, $sockets);
H A Dsocket_select-wrongparams-4.phpt11 $domain = AF_INET;
13 $domain = AF_UNIX;
15 socket_create_pair($domain, SOCK_STREAM, 0, $sockets);
/PHP-8.1/ext/standard/
H A Dhead.c81 zend_string *path, zend_string *domain, bool secure, bool httponly, in php_setcookie() argument
108 …if (domain && strpbrk(ZSTR_VAL(domain), ",; \t\r\n\013\014") != NULL) { /* man isspace for \013 an… in php_setcookie()
172 if (domain && ZSTR_LEN(domain)) { in php_setcookie()
174 smart_str_append(&buf, domain); in php_setcookie()
196 zend_string **domain, bool *secure, bool *httponly, zend_string **samesite) in php_head_parse_cookie_options_array() argument
211 *domain = zval_get_string(value); in php_head_parse_cookie_options_array()
230 zend_string *name, *value = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in php_setcookie_common() local
239 Z_PARAM_STR(domain) in php_setcookie_common()
252 &domain, &secure, &httponly, &samesite) in php_setcookie_common()
269 if (domain) { in php_setcookie_common()
[all …]
/PHP-8.1/.github/scripts/
H A Dsetup-slapd.sh51 olcSuffix: dc=my-domain,dc=com
54 olcRootDN: cn=Manager,dc=my-domain,dc=com
74 olcAuthzRegexp: uid=usera,cn=digest-md5,cn=auth cn=usera,dc=my-domain,dc=com
122 ldapadd -H ldapi:/// -D cn=Manager,dc=my-domain,dc=com -w secret <<EOF
123 dn: dc=my-domain,dc=com
127 dc: my-domain
164 …arch -d 255 -H ldaps://localhost -D cn=Manager,dc=my-domain,dc=com -w secret -s base -b dc=my-doma…
/PHP-8.1/ext/imap/tests/
H A Dbug31142_2.phpt7 $envelope["from"]= 'host@domain.com';
8 $envelope["return_path"]= 'host@domain.com';
21 From: host@domain.com
/PHP-8.1/ext/standard/tests/mail/
H A Dbug72964.phpt46 $to = "{$users[2]}@$domain";
50 . "Cc: {$users[0]}@$domain,\r\n\t{$users[1]}@$domain\r\n"
51 . "Bcc: {$users[2]}@$domain,\r\n {$users[3]}@$domain\r\n";
61 if (!find_and_delete_message("$user@$domain", $subject)) {

Completed in 27 milliseconds

1234