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

/PHP_TRUNK/ext/oci8/
H A Doci8_interface.c193 size_t data_len; local
198 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &data, &data_len, &offset) == FAILURE) {
203 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os|l", &z_descriptor, oci_lob_class_entry_ptr, &data, &data_len, &offset) == FAILURE) {
220 if (php_oci_lob_write(descriptor, offset, data, data_len, &bytes_written)) {
522 size_t data_len; local
528 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &data, &data_len, &write_len) == FAILURE) {
533 data_len = MIN(data_len, write_len);
537 if (zend_parse_parameters(ZEND_NUM_ARGS(), "Os|l", &z_descriptor, oci_lob_class_entry_ptr, &data, &data_len, &write_len) == FAILURE) {
542 data_len
1013 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) {
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 Dphp_oci8_int.h435 int php_oci_lob_read(php_oci_descriptor *descriptor, zend_long read_length, zend_long inital_offset, char **data, ub4 *data_len);
436 int php_oci_lob_write(php_oci_descriptor *descriptor, ub4 offset, char *data, int data_len, ub4 *bytes_written);
443 int php_oci_lob_write_tmp(php_oci_descriptor *descriptor, zend_long type, char *data, int data_len);
/PHP_TRUNK/ext/dom/
H A Ddocumentfragment.c125 size_t data_len = 0; local
129 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &id, dom_documentfragment_class_entry, &data, &data_len) == FAILURE) {
/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/mysqli/
H A Dmysqli_api.c2031 size_t data_len; local
2033 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Ols", &mysql_stmt, mysqli_stmt_class_entry, &param_nr, &data, &data_len) == FAILURE) {
2042 if (mysql_stmt_send_long_data(stmt->stmt, param_nr, data, 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/gmp/
H A Dgmp.c1094 size_t data_len; local
1100 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ll", &data, &data_len, &size, &options) == FAILURE) {
1108 if ((data_len % size) != 0) {
1116 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)) {
161 ops->hash_update(context, (unsigned char *) data, data_len);
240 size_t algo_len, data_len, key_len; local
246 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sss|b", &algo, &algo_len, &data, &data_len,
282 php_hash_hmac_round((unsigned char *) digest->val, ops, context, K, (unsigned char *) data, data_len);
400 size_t data_len; local
402 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &zhash, &data, &data_len) == FAILURE) {
410 hash->ops->hash_update(hash->context, (unsigned char *) 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) { \
590 size_t data_len; local
595 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &mcryptind, &data, &data_len) == FAILURE) {
604 if (data_len == 0) {
612 data_size = ((((int)data_len - 1) / block_size) + 1) * block_size;
615 memcpy(data_s, data, data_len);
617 data_size = (int)data_len;
620 memcpy(data_s, data, data_len);
637 size_t data_len; local
642 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &mcryptind, &data, &data_len)
1216 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
1282 size_t cipher_len, key_len, data_len, mode_len, iv_len = 0; local
1298 size_t cipher_len, key_len, data_len, mode_len, iv_len = 0; local
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c2146 size_t data_len; local
2154 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|C!lsb", &data, &data_len, &ce, &options, &ns, &ns_len, &isprefix) == FAILURE) {
2158 docp = xmlReadMemory(data, data_len, NULL, NULL, options);
2183 size_t data_len, ns_len = 0; local
2190 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|lbsb", &data, &data_len, &options, &is_url, &ns, &ns_len, &isprefix) == FAILURE) {
2197 docp = is_url ? xmlReadFile(data, NULL, options) : xmlReadMemory(data, data_len, NULL, NULL, options);
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c4454 size_t data_len; local
4457 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz/z|l", &data, &data_len, &crypted, &key, &padding) == FAILURE) {
4467 } else if (INT_MAX < data_len) {
4478 successful = (RSA_private_encrypt((int)data_len,
4517 size_t data_len; local
4519 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz/z|l", &data, &data_len, &crypted, &key, &padding) == FAILURE) {
4528 } else if (INT_MAX < data_len) {
4539 cryptedlen = RSA_private_decrypt((int)data_len,
4585 size_t data_len; local
4587 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz/z|l", &data, &data_len,
4646 size_t data_len; local
4734 size_t data_len; local
4798 size_t data_len; local
4853 size_t data_len; local
4984 size_t data_len; local
5093 size_t data_len, method_len; local
5174 size_t data_len, method_len, password_len, iv_len = 0, max_iv_len; local
5257 size_t data_len, method_len, password_len, iv_len = 0; local
[all...]

Completed in 51 milliseconds