Home
last modified time | relevance | path

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

/PHP-7.0/ext/standard/
H A Duniqid.c54 size_t prefix_len = 0; in PHP_FUNCTION() local
57 if (zend_parse_parameters(ZEND_NUM_ARGS(), "|sb", &prefix, &prefix_len, in PHP_FUNCTION()
H A Dhttp.c231 size_t arg_sep_len = 0, prefix_len = 0; in PHP_FUNCTION() local
235 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|ssl", &formdata, &prefix, &prefix_len, &arg_sep, &ar… in PHP_FUNCTION()
244 …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.c45 uint8_t prefix_len; member
382 pos = entry->prefix_len = browscap_compute_prefix_len(pattern); in php_browscap_parser_cb()
539 size_t len = entry->prefix_len; in browscap_get_minimum_length()
570 ZSTR_VAL(agent_name), entry->prefix_len, in browser_reg_compare()
571 ZSTR_VAL(entry->pattern), entry->prefix_len) != 0) { in browser_reg_compare()
580 cur = ZSTR_VAL(agent_name) + entry->prefix_len; in browser_reg_compare()
H A Dfile.c805 size_t dir_len, prefix_len; in PHP_FUNCTION() local
810 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "pp", &dir, &dir_len, &prefix, &prefix_len) == FAILURE)… in PHP_FUNCTION()
818 p = php_basename(prefix, prefix_len, NULL, 0); in PHP_FUNCTION()
/PHP-7.0/Zend/
H A Dzend_constants.c378 int prefix_len = colon - name; in zend_get_constant_ex() local
379 size_t const_name_len = name_len - prefix_len - 1; in zend_get_constant_ex()
385 lcname_len = prefix_len + 1 + const_name_len; in zend_get_constant_ex()
387 zend_str_tolower_copy(lcname, name, prefix_len); in zend_get_constant_ex()
390 lcname[prefix_len] = '\\'; in zend_get_constant_ex()
391 memcpy(lcname + prefix_len + 1, constant_name, const_name_len + 1); in zend_get_constant_ex()
395 zend_str_tolower(lcname + prefix_len + 1, const_name_len); in zend_get_constant_ex()
/PHP-7.0/ext/xmlwriter/
H A Dphp_xmlwriter.c842 size_t name_len, prefix_len, uri_len; in PHP_FUNCTION() local
848 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) { in PHP_FUNCTION()
854 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) { in PHP_FUNCTION()
930 size_t name_len, prefix_len, uri_len, content_len; in PHP_FUNCTION() local
937 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len, &content, &content_len) == FAILURE) { in PHP_FUNCTION()
943 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len, &content, &content_len) == FAILURE) { in PHP_FUNCTION()
983 size_t name_len, prefix_len, uri_len; in PHP_FUNCTION() local
989 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) { in PHP_FUNCTION()
995 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) { in PHP_FUNCTION()
1097 size_t name_len, prefix_len, uri_len, content_len; in PHP_FUNCTION() local
[all …]
/PHP-7.0/main/
H A DSAPI.c305 static inline char *get_default_content_type(uint prefix_len, uint *len) in get_default_content_type() argument
328 *len = prefix_len + mimetype_len + sizeof("; charset=") - 1 + charset_len; in get_default_content_type()
330 p = content_type + prefix_len; in get_default_content_type()
337 *len = prefix_len + mimetype_len; in get_default_content_type()
339 memcpy(content_type + prefix_len, mimetype, mimetype_len + 1); in get_default_content_type()
/PHP-7.0/ext/dom/
H A Dxpath.c317 size_t prefix_len, ns_uri_len; in PHP_FUNCTION() local
321 …ND_NUM_ARGS(), getThis(), "Oss", &id, dom_xpath_class_entry, &prefix, &prefix_len, &ns_uri, &ns_ur… in PHP_FUNCTION()
H A Dnode.c1613 size_t prefix_len; in PHP_FUNCTION() local
1616 …s(ZEND_NUM_ARGS(), getThis(), "Os!", &id, dom_node_class_entry, &prefix, &prefix_len) == FAILURE) { in PHP_FUNCTION()
/PHP-7.0/ext/openssl/
H A Dxp_ssl.c370 ptrdiff_t prefix_len; in matches_wildcard_name() local
383 prefix_len = wildcard - certname; in matches_wildcard_name()
384 if (prefix_len && strncasecmp(subjectname, certname, prefix_len) != 0) { in matches_wildcard_name()
395 memchr(subjectname + prefix_len, '.', subject_len - suffix_len - prefix_len) == NULL; in matches_wildcard_name()
/PHP-7.0/ext/spl/
H A Dspl_iterators.c1112 size_t prefix_len; in SPL_METHOD() local
1115 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ls", &part, &prefix, &prefix_len) == FAILURE) { in SPL_METHOD()
1125 smart_str_appendl(&object->prefix[part], prefix, prefix_len); in SPL_METHOD()
/PHP-7.0/ext/simplexml/
H A Dsimplexml.c1398 size_t prefix_len, ns_uri_len; in SXE_METHOD() local
1401 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &prefix, &prefix_len, &ns_uri, &ns_uri_len) == FA… in SXE_METHOD()

Completed in 87 milliseconds