Searched defs:data_len (Results 1 - 12 of 12) sorted by relevance

/PHP_TRUNK/ext/xml/
H A Dcompat.c315 _build_comment(const xmlChar *data, int data_len, xmlChar **comment, int *comment_len) argument
317 *comment_len = data_len + 7;
321 memcpy(*comment + 4, data, data_len);
322 memcpy(*comment + 4 + data_len, "-->", 3);
568 XML_Parse(XML_Parser parser, const XML_Char *data, int data_len, int is_final) argument
577 if (data_len >= 4 || (parser->parser->input->buf->buffer->use + data_len >= 4)) {
596 error = xmlParseChunk(parser->parser, (char *) data, data_len, is_final);
H A Dxml.c1393 size_t data_len; local
1397 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|l", &pind, &data, &data_len, &isFinal) == FAILURE) {
1406 ret = XML_Parse(parser->parser, (XML_Char*)data, data_len, isFinal);
1421 size_t data_len; local
1424 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rsz/|z/", &pind, &data, &data_len, &xdata, &info) == FAILURE) {
1454 ret = XML_Parse(parser->parser, (XML_Char*)data, data_len, 1);
/PHP_TRUNK/ext/dom/
H A Ddocumentfragment.c121 size_t data_len = 0; local
125 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &id, dom_documentfragment_class_entry, &data, &data_len) == FAILURE) {
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c2012 size_t data_len; local
2014 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Ols", &mysql_stmt, mysqli_stmt_class_entry, &param_nr, &data, &data_len) == FAILURE) {
2023 if (mysql_stmt_send_long_data(stmt->stmt, param_nr, data, data_len)) {
/PHP_TRUNK/ext/sockets/
H A Dconversions.c837 size_t data_len, local
878 data_len = entry->calc_space(data_elem, ctx);
883 data_len = entry->size;
885 req_space = CMSG_SPACE(data_len);
899 cmsghdr->cmsg_len = CMSG_LEN(data_len);
/PHP_TRUNK/ext/hash/
H A Dhash.c123 size_t algo_len, data_len; local
129 if (zend_parse_parameters(ZEND_NUM_ARGS(), "ss|b", &algo, &algo_len, &data, &data_len, &raw_output) == FAILURE) {
139 if (CHECK_NULL_PATH(data, data_len)) {
162 ops->hash_update(context, (unsigned char *) data, data_len);
241 size_t algo_len, data_len, key_len; local
247 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|b", &algo, &algo_len, &data, &data_len,
258 if (CHECK_NULL_PATH(data, data_len)) {
287 php_hash_hmac_round((unsigned char *) ZSTR_VAL(digest), ops, context, K, (unsigned char *) data, data_len);
405 size_t data_len; local
407 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &zhash, &data, &data_len)
[all...]
/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt.c302 &cipher, &cipher_len, &key, &key_len, &data, &data_len, &mode, &iv, &iv_len) == FAILURE) { \
617 size_t data_len; local
622 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &mcryptind, &data, &data_len) == FAILURE) {
631 if (data_len == 0) {
639 data_size = ((((int)data_len - 1) / block_size) + 1) * block_size;
642 memcpy(ZSTR_VAL(data_str), data, data_len); local
644 data_size = (int)data_len;
647 memcpy(ZSTR_VAL(data_str), data, data_len); local
663 size_t data_len; local
668 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &mcryptind, &data, &data_len)
1242 php_mcrypt_do_crypt(char* cipher, const char *key, size_t key_len, const char *data, size_t data_len, char *mode, const char *iv, size_t iv_len, size_t dencrypt, zval* return_value) argument
1308 size_t cipher_len, key_len, data_len, mode_len, iv_len = 0; local
1324 size_t cipher_len, key_len, data_len, mode_len, iv_len = 0; local
[all...]
/PHP_TRUNK/ext/oci8/
H A Doci8_interface.c199 size_t data_len; local
204 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &data, &data_len, &offset) == FAILURE) {
209 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os|l", &z_descriptor, oci_lob_class_entry_ptr, &data, &data_len, &offset) == FAILURE) {
226 if (php_oci_lob_write(descriptor, (ub4) offset, data, (ub4) data_len, &bytes_written)) {
537 zend_long data_len; local
543 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &data, &data_len, &write_len) == FAILURE) {
548 data_len = MIN(data_len, write_len);
552 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os|l", &z_descriptor, oci_lob_class_entry_ptr, &data, &data_len, &write_len) == FAILURE) {
557 data_len
1033 size_t data_len; local
[all...]
H A Doci8_lob.c243 int php_oci_lob_read (php_oci_descriptor *descriptor, zend_long read_length, zend_long initial_offset, char **data, ub4 *data_len) argument
257 *data_len = 0;
260 ctx.lob_len = data_len;
375 *data_len = 0;
391 *data_len = 0;
403 int php_oci_lob_write (php_oci_descriptor *descriptor, ub4 offset, char *data, int data_len, ub4 *bytes_written) argument
415 if (!data || data_len <= 0) {
428 (ub4 *)&data_len,
431 (ub4) data_len,
446 *bytes_written = data_len;
904 php_oci_lob_write_tmp(php_oci_descriptor *descriptor, zend_long type, char *data, int data_len) argument
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c2239 size_t data_len; local
2248 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|C!lsb", &data, &data_len, &ce, &options, &ns, &ns_len, &isprefix) == FAILURE) {
2252 if (ZEND_SIZE_T_INT_OVFL(data_len)) {
2265 docp = xmlReadMemory(data, (int)data_len, NULL, NULL, (int)options);
2293 size_t data_len, ns_len = 0; local
2298 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s|lbsb", &data, &data_len, &options, &is_url, &ns, &ns_len, &isprefix) == FAILURE) {
2302 if (ZEND_SIZE_T_INT_OVFL(data_len)) {
2315 docp = is_url ? xmlReadFile(data, NULL, (int)options) : xmlReadMemory(data, (int)data_len, NULL, NULL, (int)options);
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c4498 size_t data_len; local
4501 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz/z|l", &data, &data_len, &crypted, &key, &padding) == FAILURE) {
4513 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(data_len, data);
4521 successful = (RSA_private_encrypt((int)data_len,
4560 size_t data_len; local
4562 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz/z|l", &data, &data_len, &crypted, &key, &padding) == FAILURE) {
4573 PHP_OPENSSL_CHECK_SIZE_T_TO_INT(data_len, data);
4581 cryptedlen = RSA_private_decrypt((int)data_len,
4627 size_t data_len; local
4629 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz/z|l", &data, &data_len,
4687 size_t data_len; local
4774 size_t data_len; local
4838 size_t data_len; local
4895 size_t data_len; local
5025 size_t data_len; local
5131 size_t data_len, method_len; local
5212 size_t data_len, method_len, password_len, iv_len = 0, max_iv_len; local
5295 size_t data_len, method_len, password_len, iv_len = 0; local
[all...]
/PHP_TRUNK/ext/gmp/
H A Dgmp.c1095 size_t data_len; local
1101 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ll", &data, &data_len, &size, &options) == FAILURE) {
1109 if ((data_len % size) != 0) {
1117 mpz_import(gmpnumber, data_len / size, order, size, endian, 0, data);

Completed in 35 milliseconds