Home
last modified time | relevance | path

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

1234

/PHP-8.0/ext/gettext/
H A Dgettext.c74 char *domain = NULL, *domain_name, *retval; in PHP_FUNCTION() local
83 if (domain != NULL && strcmp(domain, "") && strcmp(domain, "0")) { in PHP_FUNCTION()
84 domain_name = domain; in PHP_FUNCTION()
120 zend_string *domain, *msgid; in PHP_FUNCTION() local
143 zend_string *domain, *msgid; in PHP_FUNCTION() local
166 char *domain, *dir = NULL; in PHP_FUNCTION() local
176 if (domain[0] == '\0') { in PHP_FUNCTION()
182 RETURN_STRING(bindtextdomain(domain, NULL)); in PHP_FUNCTION()
193 retval = bindtextdomain(domain, dir_name); in PHP_FUNCTION()
226 char *domain, *msgid1, *msgid2, *msgstr = NULL; in PHP_FUNCTION() local
[all …]
H A Dgettext.stub.php5 function textdomain(?string $domain): string {} argument
12 function dgettext(string $domain, string $message): string {} argument
14 function dcgettext(string $domain, string $message, int $category): string {} argument
16 function bindtextdomain(string $domain, ?string $directory): string|false {} argument
23 function dngettext(string $domain, string $singular, string $plural, int $count): string {} argument
27 function dcngettext(string $domain, string $singular, string $plural, int $count, int $category): s… argument
31 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.0/ext/intl/tests/
H A Dbug72506.phpt2 Bug #72506 (idn_to_ascii with INTL_IDNA_VARIANT_UTS46 fatals for long domain names)
13 // ASCII domain name with 255 characters
14 $domain = str_repeat('a.', 126) . 'aaa';
15 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info);
18 // ASCII domain name with 256 characters – one character added
19 $domain .= 'a';
20 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info);
23 // International domain name with cyrillic "ф" characters
24 $domain = str_repeat('ф.', 32) . 'a';
25 $result = idn_to_ascii($domain, 0, INTL_IDNA_VARIANT_UTS46, $info);
/PHP-8.0/ext/ldap/tests/
H A Dldap_delete_ext.phpt17 ldap_add($link, "dc=my-domain,$base", array(
22 "dc" => "my-domain",
23 "o" => "my-domain",
27 $result = ldap_delete_ext($link, "dc=my-domain,$base",
34 @ldap_search($link, "dc=my-domain,$base", "(o=my-domain)")
43 ldap_delete($link, "dc=my-domain,$base");
56 string(%d) "dc=my-domain,%s"
60 string(9) "my-domain"
65 string(9) "my-domain"
H A Dldap_delete_basic.phpt14 ldap_add($link, "dc=my-domain,$base", array(
19 "dc" => "my-domain",
20 "o" => "my-domain",
24 ldap_delete($link, "dc=my-domain,$base"),
25 @ldap_search($link, "dc=my-domain,$base", "(o=my-domain)")
34 ldap_delete($link, "dc=my-domain,$base");
H A Dldap_add_basic.phpt16 ldap_add($link, "dc=my-domain,$base", array(
21 "dc" => "my-domain",
22 "o" => "my-domain",
26 ldap_search($link, "$base", "(o=my-domain)")
36 ldap_delete($link, "dc=my-domain,$base");
63 string(9) "my-domain"
72 string(9) "my-domain"
79 string(%d) "dc=my-domain,%s"
H A Dldap_mod_add_error.phpt16 var_dump(ldap_mod_add($link, "dc=my-domain,$base", array()));
26 "dc" => "my-domain",
27 "o" => "my-domain",
30 ldap_add($link, "dc=my-domain,$base", $entry);
35 var_dump(ldap_mod_add($link, "dc=my-domain,$base", $entry2));
40 var_dump(ldap_mod_add($link, "dc=my-domain,$base", $entry2));
48 ldap_delete($link, "dc=my-domain,$base");
H A Dldap_modify_batch_error.phpt35 "dc" => "my-domain",
36 "o" => "my-domain",
39 ldap_add($link, "dc=my-domain,$base", $entry);
41 // invalid domain
50 var_dump(ldap_modify_batch($link, "dc=my-domain,$base", $mods));
61 var_dump(ldap_modify_batch($link, "dc=my-domain,$base", $mods));
69 ldap_delete($link, "dc=my-domain,$base");
H A Dldap_modify_error.phpt26 "dc" => "my-domain",
27 "o" => "my-domain",
30 ldap_add($link, "dc=my-domain,$base", $entry);
35 var_dump(ldap_modify($link, "dc=my-domain,$base", $entry2));
40 var_dump(ldap_modify($link, "dc=my-domain,$base", $entry2));
48 ldap_delete($link, "dc=my-domain,$base");
H A Dldap_add_error.phpt29 ldap_add($link, "dc=my-domain,$base", array(
34 "dc" => "my-domain",
35 "o" => "my-domain",
47 "dc" => "my-domain",
48 "o" => "my-domain",
66 "dc" => "my-domain",
67 "o" => "my-domain",
90 ldap_delete($link, "dc=my-domain,$base");
/PHP-8.0/ext/gettext/tests/
H A D44938.phpt12 $domain = "domain";
28 dngettext($domain, $overflown, $msgid, 1);
34 dngettext($domain, $msgid, $overflown, 1);
64 dcgettext($domain, $overflown, -1);
94 dgettext($domain, $overflown);
107 bindtextdomain(): Argument #1 ($domain) is too long
108 dngettext(): Argument #1 ($domain) is too long
114 dcgettext(): Argument #1 ($domain) is too long
116 dcngettext(): Argument #1 ($domain) is too long
119 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.0/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.0/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.0/ext/session/tests/
H A Dsession_get_cookie_params_variation1.phpt43 ["domain"]=>
57 ["domain"]=>
71 ["domain"]=>
85 ["domain"]=>
99 ["domain"]=>
113 ["domain"]=>
127 ["domain"]=>
H A Dsession_get_cookie_params_basic.phpt27 "domain" => "baz",
43 ["domain"]=>
58 ["domain"]=>
73 ["domain"]=>
88 ["domain"]=>
/PHP-8.0/ext/sockets/tests/
H A Dsocket_create_pair.phpt12 $domain = AF_INET;
14 $domain = AF_UNIX;
16 socket_create_pair($domain, SOCK_STREAM, 0, $sockets);
H A Dsocket_select.phpt12 $domain = AF_INET;
14 $domain = AF_UNIX;
16 socket_create_pair($domain, SOCK_STREAM, 0, $sockets);
H A Dsocket_select-wrongparams-4.phpt14 $domain = AF_INET;
16 $domain = AF_UNIX;
18 socket_create_pair($domain, SOCK_STREAM, 0, $sockets);
/PHP-8.0/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, zend_bool *secure, zend_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.0/.github/scripts/
H A Dsetup-slapd.sh53 olcSuffix: dc=my-domain,dc=com
56 olcRootDN: cn=Manager,dc=my-domain,dc=com
76 olcAuthzRegexp: uid=usera,cn=digest-md5,cn=auth cn=usera,dc=my-domain,dc=com
130 ldapadd -H ldapi:/// -D cn=Manager,dc=my-domain,dc=com -w secret <<EOF
131 dn: dc=my-domain,dc=com
135 dc: my-domain
170 …arch -d 255 -H ldaps://localhost -D cn=Manager,dc=my-domain,dc=com -w secret -s base -b dc=my-doma…
/PHP-8.0/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)) {
/PHP-8.0/ext/imap/tests/
H A Dbug31142_2.phpt9 $envelope["from"]= 'host@domain.com';
10 $envelope["return_path"]= 'host@domain.com';
23 From: host@domain.com

Completed in 30 milliseconds

1234