Home
last modified time | relevance | path

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

/PHP-7.2/ext/standard/
H A Duniqid.c52 size_t prefix_len = 0; in PHP_FUNCTION() local
57 Z_PARAM_STRING(prefix, prefix_len) in PHP_FUNCTION()
H A Dhttp.c222 size_t arg_sep_len = 0, prefix_len = 0; in PHP_FUNCTION() local
229 Z_PARAM_STRING(prefix, prefix_len) in PHP_FUNCTION()
239 …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()
535 size_t len = entry->prefix_len; in browscap_get_minimum_length()
566 ZSTR_VAL(agent_name), entry->prefix_len, in browser_reg_compare()
567 ZSTR_VAL(entry->pattern), entry->prefix_len) != 0) { in browser_reg_compare()
576 cur = ZSTR_VAL(agent_name) + entry->prefix_len; in browser_reg_compare()
H A Dfile.c819 size_t dir_len, prefix_len; in PHP_FUNCTION() local
826 Z_PARAM_PATH(prefix, prefix_len) in PHP_FUNCTION()
833 p = php_basename(prefix, prefix_len, NULL, 0); in PHP_FUNCTION()
/PHP-7.2/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.2/ext/xmlwriter/
H A Dphp_xmlwriter.c843 size_t name_len, prefix_len, uri_len; in PHP_FUNCTION() local
849 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) { in PHP_FUNCTION()
855 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) { in PHP_FUNCTION()
931 size_t name_len, prefix_len, uri_len, content_len; in PHP_FUNCTION() local
938 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len, &content, &content_len) == FAILURE) { in PHP_FUNCTION()
944 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len, &content, &content_len) == FAILURE) { in PHP_FUNCTION()
984 size_t name_len, prefix_len, uri_len; in PHP_FUNCTION() local
990 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) { in PHP_FUNCTION()
996 &prefix, &prefix_len, &name, &name_len, &uri, &uri_len) == FAILURE) { in PHP_FUNCTION()
1098 size_t name_len, prefix_len, uri_len, content_len; in PHP_FUNCTION() local
[all …]
/PHP-7.2/main/
H A DSAPI.c305 static inline char *get_default_content_type(uint32_t prefix_len, uint32_t *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.2/ext/dom/
H A Dxpath.c315 size_t prefix_len, ns_uri_len; in PHP_FUNCTION() local
319 …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.2/ext/openssl/
H A Dxp_ssl.c369 ptrdiff_t prefix_len; in php_openssl_matches_wildcard_name() local
382 prefix_len = wildcard - certname; in php_openssl_matches_wildcard_name()
383 if (prefix_len && strncasecmp(subjectname, certname, prefix_len) != 0) { in php_openssl_matches_wildcard_name()
394 memchr(subjectname + prefix_len, '.', subject_len - suffix_len - prefix_len) == NULL; in php_openssl_matches_wildcard_name()
/PHP-7.2/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.2/ext/simplexml/
H A Dsimplexml.c1388 size_t prefix_len, ns_uri_len; in SXE_METHOD() local
1391 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss", &prefix, &prefix_len, &ns_uri, &ns_uri_len) == FA… in SXE_METHOD()

Completed in 61 milliseconds