Searched refs:data_len (Results 1 - 14 of 14) sorted by relevance

/PHP_TRUNK/ext/oci8/
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) {
432 (ub4 *)&data_len,
435 (ub4) data_len,
450 *bytes_written = data_len;
908 php_oci_lob_write_tmp(php_oci_descriptor *descriptor, zend_long type, char *data, int data_len) argument
[all...]
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, offset, data, data_len, &bytes_written)) {
533 size_t data_len; local
539 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &data, &data_len, &write_len) == FAILURE) {
544 data_len = MIN(data_len, write_len);
548 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os|l", &z_descriptor, oci_lob_class_entry_ptr, &data, &data_len, &write_len) == FAILURE) {
553 data_len
1029 size_t data_len; local
[all...]
H A Dphp_oci8_int.h442 int php_oci_lob_read(php_oci_descriptor *descriptor, zend_long read_length, zend_long inital_offset, char **data, ub4 *data_len);
443 int php_oci_lob_write(php_oci_descriptor *descriptor, ub4 offset, char *data, int data_len, ub4 *bytes_written);
450 int php_oci_lob_write_tmp(php_oci_descriptor *descriptor, zend_long type, char *data, int data_len);
/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 Dexpat_compat.h146 PHP_XML_API int XML_Parse(XML_Parser, const XML_Char *, int data_len, int 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/gmp/
H A Dgmp.c1097 size_t data_len; local
1103 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ll", &data, &data_len, &size, &options) == FAILURE) {
1111 if ((data_len % size) != 0) {
1119 mpz_import(gmpnumber, data_len / size, order, size, endian, 0, data);
/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.c297 &cipher, &cipher_len, &key, &key_len, &data, &data_len, &mode, &iv, &iv_len) == FAILURE) { \
601 size_t data_len; local
606 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &mcryptind, &data, &data_len) == FAILURE) {
615 if (data_len == 0) {
623 data_size = ((((int)data_len - 1) / block_size) + 1) * block_size;
626 memcpy(ZSTR_VAL(data_str), data, data_len); local
628 data_size = (int)data_len;
631 memcpy(ZSTR_VAL(data_str), data, data_len); local
647 size_t data_len; local
652 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &mcryptind, &data, &data_len)
1226 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
1292 size_t cipher_len, key_len, data_len, mode_len, iv_len = 0; local
1308 size_t cipher_len, key_len, data_len, mode_len, iv_len = 0; local
[all...]
/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/openssl/
H A Dopenssl.c4471 size_t data_len; local
4474 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz/z|l", &data, &data_len, &crypted, &key, &padding) == FAILURE) {
4484 } else if (INT_MAX < data_len) {
4495 successful = (RSA_private_encrypt((int)data_len,
4534 size_t data_len; local
4536 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz/z|l", &data, &data_len, &crypted, &key, &padding) == FAILURE) {
4545 } else if (INT_MAX < data_len) {
4556 cryptedlen = RSA_private_decrypt((int)data_len,
4602 size_t data_len; local
4604 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz/z|l", &data, &data_len,
4663 size_t data_len; local
4751 size_t data_len; local
4815 size_t data_len; local
4870 size_t data_len; local
5001 size_t data_len; local
5110 size_t data_len, method_len; local
5191 size_t data_len, method_len, password_len, iv_len = 0, max_iv_len; local
5274 size_t data_len, method_len, password_len, iv_len = 0; local
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c2234 size_t data_len; local
2243 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|C!lsb", &data, &data_len, &ce, &options, &ns, &ns_len, &isprefix) == FAILURE) {
2247 docp = xmlReadMemory(data, data_len, NULL, NULL, options);
2275 size_t data_len, ns_len = 0; local
2280 if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "s|lbsb", &data, &data_len, &options, &is_url, &ns, &ns_len, &isprefix) == FAILURE) {
2284 docp = is_url ? xmlReadFile(data, NULL, options) : xmlReadMemory(data, data_len, NULL, NULL, options);
/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);

Completed in 40 milliseconds