Home
last modified time | relevance | path

Searched refs:prefix_len (Results 1 – 14 of 14) sorted by relevance

/PHP-7.3/ext/standard/
H A Duniqid.c50 size_t prefix_len = 0; in PHP_FUNCTION() local
55 Z_PARAM_STRING(prefix, prefix_len) in PHP_FUNCTION()
H A Dhttp.c221 size_t arg_sep_len = 0, prefix_len = 0; in PHP_FUNCTION() local
228 Z_PARAM_STRING(prefix, prefix_len) in PHP_FUNCTION()
238 …if (php_url_encode_hash_ex(HASH_OF(formdata), &formstr, prefix, prefix_len, NULL, 0, NULL, 0, (Z_T… in PHP_FUNCTION()
H A Dbrowscap.c43 uint8_t prefix_len; member
409 pos = entry->prefix_len = browscap_compute_prefix_len(pattern); in php_browscap_parser_cb()
558 size_t len = entry->prefix_len; in browscap_get_minimum_length()
590 ZSTR_VAL(agent_name), entry->prefix_len, in browser_reg_compare()
591 ZSTR_VAL(entry->pattern), entry->prefix_len) != 0) { in browser_reg_compare()
600 cur = ZSTR_VAL(agent_name) + entry->prefix_len; in browser_reg_compare()
H A Dfile.c822 size_t dir_len, prefix_len; in PHP_FUNCTION() local
829 Z_PARAM_PATH(prefix, prefix_len) in PHP_FUNCTION()
836 p = php_basename(prefix, prefix_len, NULL, 0); in PHP_FUNCTION()
/PHP-7.3/Zend/
H A Dzend_constants.c417 int prefix_len = colon - name; in zend_get_constant_ex() local
418 size_t const_name_len = name_len - prefix_len - 1; in zend_get_constant_ex()
424 lcname_len = prefix_len + 1 + const_name_len; in zend_get_constant_ex()
426 zend_str_tolower_copy(lcname, name, prefix_len); in zend_get_constant_ex()
429 lcname[prefix_len] = '\\'; in zend_get_constant_ex()
430 memcpy(lcname + prefix_len + 1, constant_name, const_name_len + 1); in zend_get_constant_ex()
434 zend_str_tolower(lcname + prefix_len + 1, const_name_len); in zend_get_constant_ex()
/PHP-7.3/ext/xmlwriter/
H A Dphp_xmlwriter.c849 size_t name_len, prefix_len, uri_len; in PHP_FUNCTION() local
855 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) { in PHP_FUNCTION()
861 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) { in PHP_FUNCTION()
937 size_t name_len, prefix_len, uri_len, content_len; in PHP_FUNCTION() local
944 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len, &content, &content_len) == FAILURE) { in PHP_FUNCTION()
950 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len, &content, &content_len) == FAILURE) { in PHP_FUNCTION()
990 size_t name_len, prefix_len, uri_len; in PHP_FUNCTION() local
996 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) { in PHP_FUNCTION()
1002 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) { in PHP_FUNCTION()
1104 size_t name_len, prefix_len, uri_len, content_len; in PHP_FUNCTION() local
[all …]
/PHP-7.3/sapi/fpm/fpm/
H A Dzlog.c271 size_t prefix_len = strlen(prefix); in zlog_msg_ex() local
274 zlog_stream_init_internal(&stream, flags, msg_len + prefix_len, 0); in zlog_msg_ex()
276 zlog_stream_str(&stream, prefix, prefix_len); in zlog_msg_ex()
454 stream->buf.data + stream->prefix_len, stream->len - stream->prefix_len); in zlog_stream_buf_flush()
686 stream->len = stream->prefix_len = len; in zlog_stream_prefix_ex()
H A Dzlog.h84 size_t prefix_len; member
/PHP-7.3/main/
H A DSAPI.c303 static inline char *get_default_content_type(uint32_t prefix_len, uint32_t *len) in get_default_content_type() argument
326 *len = prefix_len + mimetype_len + sizeof("; charset=") - 1 + charset_len; in get_default_content_type()
328 p = content_type + prefix_len; in get_default_content_type()
335 *len = prefix_len + mimetype_len; in get_default_content_type()
337 memcpy(content_type + prefix_len, mimetype, mimetype_len + 1); in get_default_content_type()
/PHP-7.3/ext/dom/
H A Dxpath.c314 size_t prefix_len, ns_uri_len; in PHP_FUNCTION() local
318 …ND_NUM_ARGS(), getThis(), "Oss", &id, dom_xpath_class_entry, &prefix, &prefix_len, &ns_uri, &ns_ur… in PHP_FUNCTION()
H A Dnode.c1607 size_t prefix_len; in PHP_FUNCTION() local
1610 …s(ZEND_NUM_ARGS(), getThis(), "Os!", &id, dom_node_class_entry, &prefix, &prefix_len) == FAILURE) { in PHP_FUNCTION()
/PHP-7.3/ext/openssl/
H A Dxp_ssl.c373 ptrdiff_t prefix_len; in php_openssl_matches_wildcard_name() local
386 prefix_len = wildcard - certname; in php_openssl_matches_wildcard_name()
387 if (prefix_len && strncasecmp(subjectname, certname, prefix_len) != 0) { in php_openssl_matches_wildcard_name()
398 memchr(subjectname + prefix_len, '.', subject_len - suffix_len - prefix_len) == NULL; in php_openssl_matches_wildcard_name()
/PHP-7.3/ext/spl/
H A Dspl_iterators.c1108 size_t prefix_len; in SPL_METHOD() local
1111 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ls", &part, &prefix, &prefix_len) == FAILURE) { in SPL_METHOD()
1121 smart_str_appendl(&object->prefix[part], prefix, prefix_len); in SPL_METHOD()
/PHP-7.3/ext/simplexml/
H A Dsimplexml.c1374 size_t prefix_len, ns_uri_len; in SXE_METHOD() local
1377 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &prefix, &prefix_len, &ns_uri, &ns_uri_len) == FA… in SXE_METHOD()

Completed in 70 milliseconds