Searched defs:domain (Results 1 - 8 of 8) sorted by relevance

/PHP_5_5/ext/intl/idn/
H A Didn.c137 const char *domain, int domain_len, uint32_t option, int mode, zval *idna_info)
142 int32_t buffer_capac = 255; /* no domain name may exceed this */
155 len = uidna_nameToASCII_UTF8(uts46, domain, (int32_t)domain_len,
158 len = uidna_nameToUnicodeUTF8(uts46, domain, (int32_t)domain_len,
205 const char *domain, int domain_len, uint32_t option, int mode)
217 intl_convert_utf8_to_utf16(&ustring, &ustring_len, domain, domain_len, &status);
264 char *domain; local
273 &domain, &domain_len, &option, &variant, &idna_info) == FAILURE) {
294 php_intl_bad_args("empty domain name", mode TSRMLS_CC);
298 php_intl_bad_args("domain nam
136 php_intl_idn_to_46(INTERNAL_FUNCTION_PARAMETERS, const char *domain, int domain_len, uint32_t option, int mode, zval *idna_info) argument
204 php_intl_idn_to(INTERNAL_FUNCTION_PARAMETERS, const char *domain, int domain_len, uint32_t option, int mode) argument
[all...]
/PHP_5_5/ext/soap/
H A Dphp_http.c314 static int in_domain(const char *host, const char *domain) argument
316 if (domain[0] == '.') {
318 int l2 = strlen(domain);
320 return strcmp(host+l1-l2,domain) == 0;
325 return strcmp(host,domain) == 0;
982 } else if (strstr(options,"domain=") == options) {
983 eqpos = options + sizeof("domain=")-1;
/PHP_5_5/ext/sockets/
H A Dsockets.c160 ZEND_ARG_INFO(0, domain)
228 ZEND_ARG_INFO(0, domain)
1331 /* {{{ proto resource socket_create(int domain, int type, int protocol) U
1332 Creates an endpoint for communication in the domain specified by domain, of type specified by type */
1348 php_error_docref(NULL TSRMLS_CC, E_WARNING, "invalid socket domain [%ld] specified for argument 1, assuming AF_INET", arg1);
2082 /* {{{ proto bool socket_create_pair(int domain, int type, int protocol, array &fd) U
2089 long domain, type, protocol; local
2091 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lllz", &domain, &type, &protocol, &fds_array_zval) == FAILURE) {
2098 if (domain !
[all...]
/PHP_5_5/ext/standard/
H A Dhead.c76 PHPAPI int php_setcookie(char *name, int name_len, char *value, int value_len, time_t expires, char *path, int path_len, char *domain, int domain_len, int secure, int url_encode, int httponly TSRMLS_DC) argument
107 if (domain) {
155 if (domain && domain_len > 0) {
156 strlcat(cookie, "; domain=", len + 100);
157 strlcat(cookie, domain, len + 100);
175 /* php_set_cookie(name, value, expires, path, domain, secure) */
176 /* {{{ proto bool setcookie(string name [, string value [, int expires [, string path [, string domain [, bool secure[, bool httponly]]]]]])
180 char *name, *value = NULL, *path = NULL, *domain = NULL; local
187 &path_len, &domain, &domain_len, &secure, &httponly) == FAILURE) {
191 if (php_setcookie(name, name_len, value, value_len, expires, path, path_len, domain, domain_le
203 char *name, *value = NULL, *path = NULL, *domain = NULL; local
[all...]
H A Dstreamsfuncs.c48 /* {{{ proto array stream_socket_pair(int domain, int type, int protocol)
52 long domain, type, protocol; local
57 &domain, &type, &protocol)) {
61 if (0 != socketpair(domain, type, protocol, pair)) {
/PHP_5_5/ext/gettext/
H A Dgettext.c35 ZEND_ARG_INFO(0, domain)
68 ZEND_ARG_INFO(0, domain)
77 ZEND_ARG_INFO(0, domain)
87 ZEND_ARG_INFO(0, domain)
143 php_error_docref(NULL TSRMLS_CC, E_WARNING, "domain passed too long"); \
160 /* {{{ proto string textdomain(string domain)
161 Set the textdomain to "domain". Returns the current domain */
164 char *domain, *domain_name, *retval; local
167 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &domain,
207 char *domain, *msgid, *msgstr; local
227 char *domain, *msgid, *msgstr; local
248 char *domain, *dir; local
306 char *domain, *msgid1, *msgid2, *msgstr = NULL; local
332 char *domain, *msgid1, *msgid2, *msgstr = NULL; local
362 char *domain, *codeset, *retval = NULL; local
[all...]
/PHP_5_5/win32/
H A Dsockets.c31 PHPAPI int socketpair(int domain, int type, int protocol, SOCKET sock[2]) argument
37 if(domain != AF_INET) {
45 sock[0] = socket(domain, type, protocol);
66 sock[1] = socket(domain, type, protocol);
/PHP_5_5/ext/session/
H A Dsession.c1275 #define COOKIE_DOMAIN "; domain="
1636 /* {{{ proto void session_set_cookie_params(int lifetime [, string path [, string domain [, bool secure[, bool httponly]]]])
1641 char *path = NULL, *domain = NULL; local
1646 zend_parse_parameters(argc TSRMLS_CC, "Z|ssbb", &lifetime, &path, &path_len, &domain, &domain_len, &secure, &httponly) == FAILURE) {
1657 if (domain) {
1658 zend_alter_ini_entry("session.cookie_domain", sizeof("session.cookie_domain"), domain, domain_len, PHP_INI_USER, PHP_INI_STAGE_RUNTIME);
1682 add_assoc_string(return_value, "domain", PS(cookie_domain), 1);
2203 ZEND_ARG_INFO(0, domain)

Completed in 19 milliseconds