/php-src/main/streams/ |
H A D | php_stream_transport.h | 46 PHPAPI php_stream *_php_stream_xport_create(const char *name, size_t namelen, int options, 54 #define php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, est… argument 55 …_php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, estr, eco… 59 const char *name, size_t namelen, 65 const char *name, size_t namelen, 141 size_t namelen; member
|
H A D | transports.c | 52 PHPAPI php_stream *_php_stream_xport_create(const char *name, size_t namelen, int options, in _php_stream_xport_create() argument 105 namelen -= n + 3; in _php_stream_xport_create() 133 (char*)name, namelen, persistent_id, options, flags, timeout, in _php_stream_xport_create() 145 if (-1 == php_stream_xport_connect(stream, name, namelen, in _php_stream_xport_create() 158 if (0 != php_stream_xport_bind(stream, name, namelen, &error_text)) { in _php_stream_xport_create() 202 const char *name, size_t namelen, in php_stream_xport_bind() argument 212 param.inputs.namelen = namelen; in php_stream_xport_bind() 230 const char *name, size_t namelen, in php_stream_xport_connect() argument 243 param.inputs.namelen = namelen; in php_stream_xport_connect()
|
H A D | xp_socket.c | 595 bool is_abstract_ns = xparam->inputs.namelen > 0 && xparam->inputs.name[0] == '\0'; in parse_unix_address() 600 if (xparam->inputs.namelen > max_length) { in parse_unix_address() 606 xparam->inputs.namelen = max_length; in parse_unix_address() 612 memcpy(unix_addr->sun_path, xparam->inputs.name, xparam->inputs.namelen); in parse_unix_address() 659 …return parse_ip_address_ex(xparam->inputs.name, xparam->inputs.namelen, portno, xparam->want_error… in parse_ip_address() 688 (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam->inputs.namelen); in php_tcp_sockop_bind() 767 …ckaddr *)&unix_addr, (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam->inputs.namelen, in php_tcp_sockop_connect()
|
/php-src/ext/pdo/ |
H A D | php_pdo_int.h | 53 extern pdo_driver_t *pdo_find_driver(const char *name, int namelen);
|
H A D | pdo.c | 151 pdo_driver_t *pdo_find_driver(const char *name, int namelen) /* {{{ */ in pdo_find_driver() argument 153 return zend_hash_str_find_ptr(&pdo_driver_hash, name, namelen); in pdo_find_driver()
|
H A D | pdo_dbh.c | 1337 size_t namelen; in pdo_hash_methods() local 1394 namelen = strlen(funcs->fname); in pdo_hash_methods() 1395 lc_name = emalloc(namelen+1); in pdo_hash_methods() 1396 zend_str_tolower_copy(lc_name, funcs->fname, namelen); in pdo_hash_methods() 1397 zend_hash_str_add_mem(dbh->cls_methods[kind], lc_name, namelen, &func, sizeof(func)); in pdo_hash_methods()
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_utils.c | 496 size_t namelen, keylen; in phpdbg_parse_variable_with_arg() local 506 namelen = i + keylen + 2; in phpdbg_parse_variable_with_arg() 507 name = emalloc(namelen); in phpdbg_parse_variable_with_arg() 508 …namelen = snprintf(name, namelen, "%.*s%.*s%s", (int) i, input, (int) (keylen - (propkey - key)), … in phpdbg_parse_variable_with_arg() 513 …ret = callback(name, namelen, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SU… in phpdbg_parse_variable_with_arg()
|
H A D | phpdbg_watch.c | 1294 static int phpdbg_watchpoint_parse_wrapper(char *name, size_t namelen, char *key, size_t keylen, Ha… argument 1297 element->str = zend_string_init(name, namelen, 0); 1335 static int phpdbg_watchpoint_parse_step(char *name, size_t namelen, char *key, size_t keylen, HashT… argument
|
/php-src/ext/standard/ |
H A D | pack.c | 743 int namelen; in PHP_FUNCTION() local 782 namelen = format - name; in PHP_FUNCTION() 784 if (namelen > 200) in PHP_FUNCTION() 785 namelen = 200; in PHP_FUNCTION() 890 if (repetitions == 1 && namelen > 0) { in PHP_FUNCTION() 892 real_name = zend_string_init_fast(name, namelen); in PHP_FUNCTION() 899 real_name = zend_string_concat2(name, namelen, res, digits); in PHP_FUNCTION()
|
/php-src/win32/ |
H A D | sendmail.c | 799 int res, namelen; in MailConnect() local 830 namelen = (int)strlen(ent->h_name); in MailConnect() 838 if (namelen + 2 >= HOST_NAME_LEN) { in MailConnect() 845 strcpy(PW32G(mail_local_host) + namelen + 1, "]"); in MailConnect() 847 if (namelen >= HOST_NAME_LEN) { in MailConnect()
|
/php-src/ext/simplexml/ |
H A D | simplexml.c | 959 static void sxe_properties_add(HashTable *rv, char *name, int namelen, zval *value) /* {{{ */ in sxe_properties_add() argument 965 key = zend_string_init(name, namelen, 0); in sxe_properties_add() 1073 int namelen; in sxe_get_prop_hash() local 1104 namelen = xmlStrlen(attr->name); in sxe_get_prop_hash() 1109 add_assoc_zval_ex(&zattr, (char*)attr->name, namelen, &value); in sxe_get_prop_hash() 1156 namelen = xmlStrlen(node->name); in sxe_get_prop_hash() 1164 sxe_properties_add(rv, name, namelen, &value); in sxe_get_prop_hash() 1615 int namelen; in PHP_METHOD() local 1626 namelen = xmlStrlen(node->name); in PHP_METHOD() 1627 RETURN_STRINGL((char*)node->name, namelen); in PHP_METHOD()
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_compile.c | 2778 uint32_t namelen; in parse_regex() local 3398 *parsed_pattern++ = namelen; in parse_regex() 3978 if (namelen == alasmeta[i].len && in parse_regex() 3979 PRIV(strncmp_c8)(name, vn, namelen) == 0) in parse_regex() 4082 if (namelen == verbs[i].len && in parse_regex() 4382 &namelen, &errorcode, cb)) goto FAILED; in parse_regex() 4384 *parsed_pattern++ = namelen; in parse_regex() 4442 &namelen, &errorcode, cb)) goto FAILED; in parse_regex() 4444 *parsed_pattern++ = namelen; in parse_regex() 4711 for (i = 1; i < (int)namelen; i++) in parse_regex() [all …]
|
/php-src/ext/session/ |
H A D | session.c | 1046 size_t namelen = ((unsigned char)(*p)) & (~PS_BIN_UNDEF); in PS_SERIALIZER_DECODE_FUNC() local 1048 if (namelen > PS_BIN_MAX || (p + namelen) >= endptr) { in PS_SERIALIZER_DECODE_FUNC() 1053 name = zend_string_init(p + 1, namelen, 0); in PS_SERIALIZER_DECODE_FUNC() 1054 p += namelen + 1; in PS_SERIALIZER_DECODE_FUNC() 1114 ptrdiff_t namelen; in PS_SERIALIZER_DECODE_FUNC() local 1133 namelen = q - p; in PS_SERIALIZER_DECODE_FUNC() 1134 name = zend_string_init(p, namelen, 0); in PS_SERIALIZER_DECODE_FUNC()
|
/php-src/ext/com_dotnet/ |
H A D | com_com.c | 801 size_t namelen; in PHP_FUNCTION() local 806 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "s|b", &name, &namelen, &cs)) { in PHP_FUNCTION()
|
/php-src/ext/soap/ |
H A D | php_http.c | 172 zend_long namelen; in http_connect() local 233 namelen = spprintf(&name, 0, "%s://%s:%d", protocol, host, port); in http_connect() 235 stream = php_stream_xport_create(name, namelen, in http_connect()
|
/php-src/ext/sockets/ |
H A D | conversions.c | 45 # define msg_namelen namelen
|