/PHP-7.0/main/streams/ |
H A D | php_stream_transport.h | 49 PHPAPI php_stream *_php_stream_xport_create(const char *name, size_t namelen, int options, 57 #define php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, est… argument 58 …_php_stream_xport_create(name, namelen, options, flags, persistent_id, timeout, context, estr, eco… 62 const char *name, size_t namelen, 68 const char *name, size_t namelen, 144 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 102 namelen -= n + 3; in _php_stream_xport_create() 133 (char*)name, namelen, persistent_id, options, flags, timeout, in _php_stream_xport_create() 143 if (-1 == php_stream_xport_connect(stream, name, namelen, in _php_stream_xport_create() 156 if (0 != php_stream_xport_bind(stream, name, namelen, &error_text)) { in _php_stream_xport_create() 197 const char *name, size_t namelen, in php_stream_xport_bind() argument 207 param.inputs.namelen = namelen; in php_stream_xport_bind() 225 const char *name, size_t namelen, in php_stream_xport_connect() argument 238 param.inputs.namelen = namelen; in php_stream_xport_connect()
|
H A D | xp_socket.c | 550 if (xparam->inputs.namelen >= sizeof(unix_addr->sun_path)) { in parse_unix_address() 556 xparam->inputs.namelen = sizeof(unix_addr->sun_path) - 1; in parse_unix_address() 562 memcpy(unix_addr->sun_path, xparam->inputs.name, xparam->inputs.namelen); in parse_unix_address() 609 …return parse_ip_address_ex(xparam->inputs.name, xparam->inputs.namelen, portno, xparam->want_error… in parse_ip_address() 638 (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam->inputs.namelen); in php_tcp_sockop_bind() 717 …ckaddr *)&unix_addr, (socklen_t) XtOffsetOf(struct sockaddr_un, sun_path) + xparam->inputs.namelen, in php_tcp_sockop_connect()
|
/PHP-7.0/ext/com_dotnet/ |
H A D | com_com.c | 424 size_t namelen, DISPID *dispid) in php_com_get_id_of_name() argument 430 if (namelen == -1) { in php_com_get_id_of_name() 431 namelen = strlen(name); in php_com_get_id_of_name() 434 …bj->id_of_name_cache && NULL != (tmp = zend_hash_str_find(obj->id_of_name_cache, name, namelen))) { in php_com_get_id_of_name() 439 olename = php_com_string_to_olestring(name, namelen, obj->code_page); in php_com_get_id_of_name() 465 zend_hash_str_update(obj->id_of_name_cache, name, namelen, &tmp); in php_com_get_id_of_name() 646 int php_com_do_invoke(php_com_dotnet_object *obj, char *name, size_t namelen, in php_com_do_invoke() argument 654 hr = php_com_get_id_of_name(obj, name, namelen, &dispid); in php_com_do_invoke() 826 size_t namelen; in PHP_FUNCTION() local 832 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "s|b", &name, &namelen, &cs)) { in PHP_FUNCTION()
|
H A D | com_wrapper.c | 178 size_t namelen; in disp_getidsofnames() local 181 name = php_com_olestring_to_string(rgszNames[i], &namelen, COMG(code_page)); in disp_getidsofnames() 184 if ((tmp = zend_hash_str_find(disp->name_to_dispid, name, namelen)) == NULL) { in disp_getidsofnames() 222 size_t namelen; in disp_getdispid() local 226 name = php_com_olestring_to_string(bstrName, &namelen, COMG(code_page)); in disp_getdispid() 228 trace("Looking for %s, namelen=%d in %p\n", name, namelen, disp->name_to_dispid); in disp_getdispid() 231 if ((tmp = zend_hash_str_find(disp->name_to_dispid, name, namelen)) != NULL) { in disp_getdispid()
|
H A D | php_com_dotnet_internal.h | 108 size_t namelen, DISPID *dispid); 111 int php_com_do_invoke(php_com_dotnet_object *obj, char *name, size_t namelen,
|
/PHP-7.0/ext/pdo/ |
H A D | php_pdo_int.h | 58 extern pdo_driver_t *pdo_find_driver(const char *name, int namelen);
|
H A D | pdo.c | 201 pdo_driver_t *pdo_find_driver(const char *name, int namelen) /* {{{ */ in pdo_find_driver() argument 203 return zend_hash_str_find_ptr(&pdo_driver_hash, (char*)name, namelen); in pdo_find_driver()
|
H A D | pdo_dbh.c | 946 size_t namelen; in PHP_METHOD() local 948 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "|s!", &name, &namelen)) { in PHP_METHOD() 1280 size_t namelen; in pdo_hash_methods() local 1335 namelen = strlen(funcs->fname); in pdo_hash_methods() 1336 lc_name = emalloc(namelen+1); in pdo_hash_methods() 1337 zend_str_tolower_copy(lc_name, funcs->fname, namelen); in pdo_hash_methods() 1338 zend_hash_str_add_mem(dbh->cls_methods[kind], lc_name, namelen, &func, sizeof(func)); in pdo_hash_methods()
|
H A D | pdo_stmt.c | 238 stmt->columns[col].namelen, (void**)¶m)) { in pdo_stmt_describe_columns()
|
/PHP-7.0/ext/standard/ |
H A D | pack.c | 746 int namelen; in PHP_FUNCTION() local 776 namelen = format - name; in PHP_FUNCTION() 778 if (namelen > 200) in PHP_FUNCTION() 779 namelen = 200; in PHP_FUNCTION() 883 if (arg != 1 || namelen == 0) { in PHP_FUNCTION() 885 snprintf(n, sizeof(n), "%.*s%d", namelen, name, i + 1); in PHP_FUNCTION() 888 snprintf(n, sizeof(n), "%.*s", namelen, name); in PHP_FUNCTION()
|
/PHP-7.0/win32/ |
H A D | sendmail.c | 780 int res, namelen; in MailConnect() local 811 namelen = (int)strlen(ent->h_name); in MailConnect() 819 if (namelen + 2 >= HOST_NAME_LEN) { in MailConnect() 826 strcpy(PW32G(mail_local_host) + namelen + 1, "]"); in MailConnect() 828 if (namelen >= HOST_NAME_LEN) { in MailConnect()
|
/PHP-7.0/ext/pcre/pcrelib/ |
H A D | pcre_compile.c | 6550 int i, namelen; in compile_branch() local 6558 namelen = (int)(ptr - name); in compile_branch() 6586 if (namelen == verbs[i].len && in compile_branch() 6688 int i, set, unset, namelen; in compile_branch() local 6832 namelen = (int)(ptr - name); in compile_branch() 6932 for (i = 1; i < namelen; i++) in compile_branch() 7090 namelen = (int)(ptr - name); in compile_branch() 7118 if (namelen > MAX_NAME_SIZE) in compile_branch() 7208 namelen = (int)(ptr - name); in compile_branch() 7222 if (namelen == 0) in compile_branch() [all …]
|
/PHP-7.0/sapi/phpdbg/ |
H A D | phpdbg_watch.c | 629 static int phpdbg_watchpoint_parse_wrapper(char *name, size_t namelen, char *key, size_t keylen, Ha… in phpdbg_watchpoint_parse_wrapper() argument 632 watch->str = zend_string_init(name, namelen, 0); in phpdbg_watchpoint_parse_wrapper() 656 static int phpdbg_watchpoint_parse_step(char *name, size_t namelen, char *key, size_t keylen, HashT… in phpdbg_watchpoint_parse_step() argument 659 if ((watch = zend_hash_str_find_ptr(&PHPDBG_G(watchpoints), name, namelen))) { in phpdbg_watchpoint_parse_step() 667 watch->str = zend_string_init(name, namelen, 0); in phpdbg_watchpoint_parse_step()
|
H A D | phpdbg_utils.c | 480 size_t namelen, keylen; in phpdbg_parse_variable_with_arg() local 491 …namelen = sprintf(name, "%.*s%.*s%s", (int) i, input, (int) (keylen - (propkey - key)), propkey, i… in phpdbg_parse_variable_with_arg() 496 …ret = callback(name, namelen, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SU… in phpdbg_parse_variable_with_arg()
|
/PHP-7.0/ext/session/ |
H A D | session.c | 971 int namelen; 981 namelen = ((unsigned char)(*p)) & (~PS_BIN_UNDEF); 983 if (namelen < 0 || namelen > PS_BIN_MAX || (p + namelen) >= endptr) { 990 name = zend_string_init(p + 1, namelen, 0); 992 p += namelen + 1; 1066 ptrdiff_t namelen; 1090 namelen = q - p; 1091 name = zend_string_init(p, namelen, 0);
|
/PHP-7.0/ext/simplexml/ |
H A D | simplexml.c | 1013 static void sxe_properties_add(HashTable *rv, char *name, int namelen, zval *value) /* {{{ */ in sxe_properties_add() argument 1019 key = zend_string_init(name, namelen, 0); in sxe_properties_add() 1136 int namelen; in sxe_get_prop_hash() local 1172 namelen = xmlStrlen(attr->name); in sxe_get_prop_hash() 1177 add_assoc_zval_ex(&zattr, (char*)attr->name, namelen, &value); in sxe_get_prop_hash() 1229 namelen = xmlStrlen(node->name); in sxe_get_prop_hash() 1237 sxe_properties_add(rv, name, namelen, &value); in sxe_get_prop_hash() 1667 int namelen; in SXE_METHOD() local 1674 namelen = xmlStrlen(node->name); in SXE_METHOD() 1675 RETURN_STRINGL((char*)node->name, namelen); in SXE_METHOD()
|
/PHP-7.0/ext/pdo_oci/ |
H A D | oci_statement.c | 531 ub4 namelen; in oci_stmt_describe() local 556 (param, OCI_DTYPE_PARAM, &colname, &namelen, OCI_ATTR_NAME, S->err)); in oci_stmt_describe() 560 col->name = zend_string_init((char *)colname, namelen, 0); in oci_stmt_describe()
|
/PHP-7.0/ext/soap/ |
H A D | php_http.c | 168 zend_long namelen; in http_connect() local 229 namelen = spprintf(&name, 0, "%s://%s:%d", protocol, host, port); in http_connect() 231 stream = php_stream_xport_create(name, namelen, in http_connect()
|
/PHP-7.0/ext/sockets/ |
H A D | conversions.c | 51 # define msg_namelen namelen
|