Home
last modified time | relevance | path

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

1234

/php-src/ext/gettext/
H A Dgettext.c85 zend_string *domain = NULL; in PHP_FUNCTION() local
89 Z_PARAM_STR_OR_NULL(domain) in PHP_FUNCTION()
92 if (domain != NULL) { in PHP_FUNCTION()
132 zend_string *domain, *msgid; in PHP_FUNCTION() local
135 Z_PARAM_STR(domain) in PHP_FUNCTION()
156 zend_string *domain, *msgid; in PHP_FUNCTION() local
160 Z_PARAM_STR(domain) in PHP_FUNCTION()
186 Z_PARAM_STR(domain) in PHP_FUNCTION()
245 Z_PARAM_STR(domain) in PHP_FUNCTION()
274 Z_PARAM_STR(domain) in PHP_FUNCTION()
[all …]
H A Dgettext.stub.php6 function textdomain(?string $domain = null): 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 = null): 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 = null): string|false {} argument
H A Dgettext_arginfo.h5 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, domain, IS_STRING, 1, "null")
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-src/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-src/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", ["dc" => "my-domain"]));
20 var_dump(ldap_mod_add($link, "weirdAttribute=val", ["dc" => "my-domain"]));
28 "dc" => "my-domain",
29 "o" => "my-domain",
32 ldap_add($link, "dc=my-domain,$base", $entry);
37 var_dump(ldap_mod_add($link, "dc=my-domain,$base", $entry2));
42 var_dump(ldap_mod_add($link, "dc=my-domain,$base", $entry2));
50 ldap_delete($link, "dc=my-domain,$base");
H A Dldap_modify_error.phpt17 var_dump(ldap_modify($link, "cn=not-found,$base", ["dc" => "my-domain"]));
20 var_dump(ldap_modify($link, "weirdAttribute=val", ["dc" => "my-domain"]));
28 "dc" => "my-domain",
29 "o" => "my-domain",
32 ldap_add($link, "dc=my-domain,$base", $entry);
37 var_dump(ldap_modify($link, "dc=my-domain,$base", $entry2));
42 var_dump(ldap_modify($link, "dc=my-domain,$base", $entry2));
50 ldap_delete($link, "dc=my-domain,$base");
H A Dldap_add_error.phpt32 "dc=my-domain,$base",
39 "dc" => "my-domain",
40 "o" => "my-domain",
51 "dc=my-domain,$base",
58 "dc" => "my-domain",
59 "o" => "my-domain",
73 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_mod_del_error.phpt17 var_dump(ldap_mod_del($link, "dc=my-domain,$base", ["dc" => "my-domain"]));
20 var_dump(ldap_mod_del($link, "weirdAttribute=val", ["dc" => "my-domain"]));
29 @ldap_delete($link, "dc=my-domain,$base");
/php-src/.github/
H A Dsetup_hmailserver.php12 $domain = $hmail->Domains->Add(); variable
13 $domain->Name = IMAP_MAIL_DOMAIN;
14 $domain->Active = true;
15 $domain->Save();
17 $accounts = $domain->accounts();
/php-src/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-src/ext/intl/idn/
H A Didn.c55 const zend_string *domain, uint32_t option, int mode, zval *idna_info) in php_intl_idn_to_46() argument
71 len = uidna_nameToASCII_UTF8(uts46, ZSTR_VAL(domain), ZSTR_LEN(domain), in php_intl_idn_to_46()
81 len = uidna_nameToUnicodeUTF8(uts46, ZSTR_VAL(domain), ZSTR_LEN(domain), in php_intl_idn_to_46()
112 zend_string *domain; in php_intl_idn_handoff() local
120 Z_PARAM_STR(domain) in php_intl_idn_handoff()
127 if (ZSTR_LEN(domain) == 0) { in php_intl_idn_handoff()
131 if (ZSTR_LEN(domain) > INT32_MAX - 1) { in php_intl_idn_handoff()
148 php_intl_idn_to_46(INTERNAL_FUNCTION_PARAM_PASSTHRU, domain, (uint32_t)option, mode, idna_info); in php_intl_idn_handoff()
/php-src/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-src/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-src/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-src/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()
171 if (domain && ZSTR_LEN(domain)) { in php_setcookie()
173 smart_str_append(&buf, domain); in php_setcookie()
195 zend_string **domain, bool *secure, bool *httponly, zend_string **samesite) in php_head_parse_cookie_options_array() argument
210 *domain = zval_get_string(value); in php_head_parse_cookie_options_array()
229 zend_string *name, *value = NULL, *path = NULL, *domain = NULL, *samesite = NULL; in php_setcookie_common() local
238 Z_PARAM_STR(domain) in php_setcookie_common()
251 &domain, &secure, &httponly, &samesite) in php_setcookie_common()
268 if (domain) { in php_setcookie_common()
[all …]
/php-src/.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
124 ldapadd -H ldapi:/// -D cn=Manager,dc=my-domain,dc=com -w secret <<EOF
125 dn: dc=my-domain,dc=com
129 dc: my-domain
166 …arch -d 255 -H ldaps://localhost -D cn=Manager,dc=my-domain,dc=com -w secret -s base -b dc=my-doma…

Completed in 22 milliseconds

1234