Home
last modified time | relevance | path

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

/php-src/ext/sockets/
H A Dmulticast.h88 socklen_t source_len,
97 socklen_t source_len,
106 socklen_t source_len,
115 socklen_t source_len,
H A Dmulticast.c395 socklen_t source_len, in php_mcast_join_source() argument
398 …return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, JOIN_SOUR… in php_mcast_join_source()
407 socklen_t source_len, in php_mcast_leave_source() argument
410 …return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, LEAVE_SOU… in php_mcast_leave_source()
419 socklen_t source_len, in php_mcast_block_source() argument
422 …return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, BLOCK_SOU… in php_mcast_block_source()
431 socklen_t source_len, in php_mcast_unblock_source() argument
434 …return _php_mcast_source_op(sock, level, group, group_len, source, source_len, if_index, UNBLOCK_S… in php_mcast_unblock_source()
508 socklen_t source_len, in _php_mcast_source_op() argument
517 memcpy(&gsreq.gsr_source, source, source_len); in _php_mcast_source_op()
[all …]
/php-src/ext/bz2/
H A Dbz2.c446 size_t source_len; /* Length of the source data */ in PHP_FUNCTION() local
449 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ll", &source, &source_len, &zblock_size, &zwork_fact… in PHP_FUNCTION()
470 dest_len = (unsigned int) (source_len + (0.01 * source_len) + 600); in PHP_FUNCTION()
475 …int error = BZ2_bzBuffToBuffCompress(ZSTR_VAL(dest), &dest_len, source, source_len, block_size, 0,… in PHP_FUNCTION()
494 size_t source_len; in PHP_FUNCTION() local
504 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS(), "s|b", &source, &source_len, &small)) { in PHP_FUNCTION()
517 bzs.avail_in = source_len; in PHP_FUNCTION()
520 dest = zend_string_safe_alloc(source_len, 2, 1, 0); in PHP_FUNCTION()
521 bzs.avail_out = source_len * 2; in PHP_FUNCTION()
526 bzs.avail_out = source_len; in PHP_FUNCTION()
/php-src/ext/intl/msgformat/
H A Dmsgformat_parse.c57 size_t source_len; in PHP_FUNCTION() local
63 &object, MessageFormatter_ce_ptr, &source, &source_len ) == FAILURE ) in PHP_FUNCTION()
71 msgfmt_do_parse(mfo, source, source_len, return_value); in PHP_FUNCTION()
H A Dmsgformat_helpers.h22 UChar *source, int source_len, UErrorCode *status);
H A Dmsgformat_helpers.cpp621 …r(UMessageFormat *fmt, int *count, zval **args, UChar *source, int32_t source_len, UErrorCode *sta… in umsg_parse_helper() argument
623 UnicodeString srcString(source, source_len); in umsg_parse_helper()
/php-src/ext/xmlreader/
H A Dphp_xmlreader.c333 parser = xmlRelaxNGNewMemParserCtxt(source, source_len); in _xmlreader_get_relaxNG()
520 size_t source_len = 0; in php_xmlreader_set_relaxng_schema() local
526 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p!", &source, &source_len) == FAILURE) { in php_xmlreader_set_relaxng_schema()
530 if (source != NULL && !source_len) { in php_xmlreader_set_relaxng_schema()
540 schema = _xmlreader_get_relaxNG(source, source_len, type, NULL, NULL); in php_xmlreader_set_relaxng_schema()
904 size_t source_len = 0, encoding_len = 0; in xml_reader_from_uri() local
923 if (!source_len) { in xml_reader_from_uri()
1081 size_t source_len = 0; in PHP_METHOD() local
1090 if (source != NULL && !source_len) { in PHP_METHOD()
1175 size_t source_len = 0, encoding_len = 0; in xml_reader_from_string() local
[all …]
/php-src/ext/dom/
H A Dxml_document.c137 size_t source_len, override_encoding_len; in load_from_helper() local
143 &source_len, in load_from_helper()
151 if (!source_len) { in load_from_helper()
156 if (ZEND_SIZE_T_INT_OVFL(source_len)) { in load_from_helper()
181 xmlDocPtr lxml_doc = dom_document_parser(NULL, mode, source, source_len, options, encoding); in load_from_helper()
H A Ddocument.c1374 if (CHECK_NULL_PATH(source, source_len)) { in dom_document_parser()
1513 size_t source_len; in dom_parse_document() local
1520 if (!source_len) { in dom_parse_document()
1524 if (ZEND_SIZE_T_INT_OVFL(source_len)) { in dom_parse_document()
1864 size_t source_len = 0; in dom_document_schema_validate() local
1878 if (!source_len) { in dom_document_schema_validate()
1975 size_t source_len = 0; in dom_document_relaxNG_validate() local
1987 if (!source_len) { in dom_document_relaxNG_validate()
2072 size_t source_len; in dom_load_html() local
2080 if (!source_len) { in dom_load_html()
[all …]
H A Dhtml_document.c397 static dom_character_encoding_data dom_determine_encoding(const char *source, size_t source_len) in dom_determine_encoding() argument
402 if (source_len >= 3 && source[0] == '\xEF' && source[1] == '\xBB' && source[2] == '\xBF') { in dom_determine_encoding()
406 } else if (source_len >= 2) { in dom_determine_encoding()
425 if (source_len > 1024) { in dom_determine_encoding()
426 source_len = 1024; in dom_determine_encoding()
818 size_t source_len, override_encoding_len; in PHP_METHOD() local
824 &source_len, in PHP_METHOD()
870 …dom_setup_parser_encoding_implicitly(&buf_ref, &source_len, &decoding_encoding_ctx, &application_d… in PHP_METHOD()
885 while (source_len > 0) { in PHP_METHOD()
886 size_t chunk_size = source_len; in PHP_METHOD()
[all …]
H A Dphp_dom.h195 xmlDocPtr dom_document_parser(zval *id, dom_load_mode mode, const char *source, size_t source_len, …
/php-src/ext/xmlwriter/
H A Dphp_xmlwriter.c805 size_t source_len; in PHP_FUNCTION() local
809 if (zend_parse_parameters(ZEND_NUM_ARGS(), "p", &source, &source_len) == FAILURE) { in PHP_FUNCTION()
818 if (source_len == 0) { in PHP_FUNCTION()
852 size_t source_len; in PHP_METHOD() local
856 Z_PARAM_PATH(source, source_len) in PHP_METHOD()
859 if (source_len == 0) { in PHP_METHOD()
/php-src/ext/standard/
H A Dfile.c1461 size_t source_len, target_len; in PHP_FUNCTION() local
1466 Z_PARAM_PATH(source, source_len) in PHP_FUNCTION()
/php-src/ext/reflection/
H A Dphp_reflection.c7493 size_t source_len = ZSTR_LEN(name) - backslash_prefixed; in ZEND_METHOD() local
7494 zend_string *lc_name = zend_string_alloc(source_len, /* persistent */ false); in ZEND_METHOD()
7495 const char *ns_end = zend_memrchr(source, '\\', source_len); in ZEND_METHOD()
7501 memcpy(ZSTR_VAL(lc_name) + ns_len, source + ns_len, source_len - ns_len); in ZEND_METHOD()

Completed in 102 milliseconds