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

/PHP_5_6/ext/sockets/
H A Dconversions.c857 size_t data_len, local
899 data_len = entry->calc_space(*data_elem, ctx);
904 data_len = entry->size;
906 req_space = CMSG_SPACE(data_len);
920 cmsghdr->cmsg_len = CMSG_LEN(data_len);
/PHP_5_6/ext/dom/
H A Ddocumentfragment.c127 int data_len = 0; local
131 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Os", &id, dom_documentfragment_class_entry, &data, &data_len) == FAILURE) {
/PHP_5_6/ext/mssql/
H A Dphp_mssql.c1534 int data_len; local
1538 data_len = Z_STRLEN(result->data[result->cur_row][i]);
1541 add_index_stringl(return_value, i, data, data_len, 1);
1545 add_assoc_stringl(return_value, result->fields[i].name, data, data_len, 1);
/PHP_5_6/ext/shmop/
H A Dshmop.c320 int data_len; local
322 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "lsl", &shmid, &data, &data_len, &offset) == FAILURE) {
338 writesize = (data_len < shmop->size - offset) ? data_len : shmop->size - offset;
/PHP_5_6/ext/tidy/
H A Dtidy.c556 int arg1_len, enc_len = 0, data_len = 0; local
566 if (!(data = php_tidy_file_to_mem(arg1, use_include_path, &data_len TSRMLS_CC))) {
574 data_len = arg1_len;
608 tidyBufAttach(&buf, (byte *) data, data_len);
/PHP_5_6/ext/xml/
H A Dcompat.c324 _build_comment(const xmlChar *data, int data_len, xmlChar **comment, int *comment_len) argument
326 *comment_len = data_len + 7;
330 memcpy(*comment + 4, data, data_len);
331 memcpy(*comment + 4 + data_len, "-->", 3);
577 XML_Parse(XML_Parser parser, const XML_Char *data, int data_len, int is_final) argument
586 if (data_len >= 4 || (parser->parser->input->buf->buffer->use + data_len >= 4)) {
605 error = xmlParseChunk(parser->parser, data, data_len, is_final);
H A Dexpat_compat.h138 PHPAPI int XML_Parse(XML_Parser, const XML_Char *, int data_len, int is_final);
H A Dxml.c1445 int data_len, ret; local
1448 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|l", &pind, &data, &data_len, &isFinal) == FAILURE) {
1454 ret = XML_Parse(parser->parser, data, data_len, isFinal);
1469 int data_len, ret; local
1471 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsZ|Z", &pind, &data, &data_len, &xdata, &info) == FAILURE) {
1499 ret = XML_Parse(parser->parser, data, data_len, 1);
/PHP_5_6/ext/oci8/
H A Doci8_lob.c244 int php_oci_lob_read (php_oci_descriptor *descriptor, long read_length, long initial_offset, char **data, ub4 *data_len TSRMLS_DC)
258 *data_len = 0;
261 ctx.lob_len = data_len;
376 *data_len = 0;
392 *data_len = 0;
404 int php_oci_lob_write (php_oci_descriptor *descriptor, ub4 offset, char *data, int data_len, ub4 *bytes_written TSRMLS_DC) argument
416 if (!data || data_len <= 0) {
433 (ub4 *)&data_len,
436 (ub4) data_len,
451 *bytes_written = data_len;
[all...]
H A Dphp_oci8_int.h427 int php_oci_lob_read(php_oci_descriptor *descriptor, long read_length, long inital_offset, char **data, ub4 *data_len TSRMLS_DC);
428 int php_oci_lob_write(php_oci_descriptor *descriptor, ub4 offset, char *data, int data_len, ub4 *bytes_written TSRMLS_DC);
435 int php_oci_lob_write_tmp(php_oci_descriptor *descriptor, long type, char *data, int data_len TSRMLS_DC);
H A Doci8_interface.c192 int data_len; local
197 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &data, &data_len, &offset) == FAILURE) {
202 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os|l", &z_descriptor, oci_lob_class_entry_ptr, &data, &data_len, &offset) == FAILURE) {
219 if (php_oci_lob_write(descriptor, offset, data, data_len, &bytes_written TSRMLS_CC)) {
521 int data_len; local
527 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &data, &data_len, &write_len) == FAILURE) {
532 data_len = MIN(data_len, write_len);
536 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Os|l", &z_descriptor, oci_lob_class_entry_ptr, &data, &data_len, &write_len) == FAILURE) {
541 data_len
1012 int data_len; local
[all...]
/PHP_5_6/ext/mcrypt/
H A Dmcrypt.c334 &cipher, &cipher_len, &key, &key_len, &data, &data_len, &mode, &iv, &iv_len) == FAILURE) { \
618 int data_len; local
623 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &mcryptind, &data, &data_len) == FAILURE) {
630 if (data_len == 0) {
638 data_size = (((data_len - 1) / block_size) + 1) * block_size;
641 memcpy(data_s, data, data_len);
643 data_size = data_len;
646 memcpy(data_s, data, data_len);
663 int data_len; local
668 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &mcryptind, &data, &data_len)
1236 php_mcrypt_do_crypt(char* cipher, const char *key, int key_len, const char *data, int data_len, char *mode, const char *iv, int iv_len, int dencrypt, zval* return_value TSRMLS_DC) argument
1300 int cipher_len, key_len, data_len, mode_len, iv_len = 0; local
1316 int cipher_len, key_len, data_len, mode_len, iv_len = 0; local
1333 int cipher_len, key_len, data_len, iv_len = 0; local
1349 int cipher_len, key_len, data_len, iv_len = 0; local
1365 int cipher_len, key_len, data_len, iv_len = 0; local
1381 int cipher_len, key_len, data_len, iv_len = 0; local
[all...]
/PHP_5_6/ext/hash/
H A Dhash.c129 int algo_len, data_len; local
135 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|b", &algo, &algo_len, &data, &data_len, &raw_output) == FAILURE) {
145 if (CHECK_NULL_PATH(data, data_len)) {
167 ops->hash_update(context, (unsigned char *) data, data_len);
244 int algo_len, data_len, key_len; local
250 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|b", &algo, &algo_len, &data, &data_len,
286 php_hash_hmac_round((unsigned char *) digest, ops, context, (unsigned char *) K, (unsigned char *) data, data_len);
403 int data_len; local
405 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &zhash, &data, &data_len) == FAILURE) {
411 hash->ops->hash_update(hash->context, (unsigned char *) data, data_len);
[all...]
/PHP_5_6/ext/mysqli/
H A Dmysqli_api.c2039 int data_len; local
2041 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ols", &mysql_stmt, mysqli_stmt_class_entry, &param_nr, &data, &data_len) == FAILURE) {
2050 if (mysql_stmt_send_long_data(stmt->stmt, param_nr, data, data_len)) {
/PHP_5_6/ext/simplexml/
H A Dsimplexml.c2203 int data_len; local
2211 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|C!lsb", &data, &data_len, &ce, &options, &ns, &ns_len, &isprefix) == FAILURE) {
2215 docp = xmlReadMemory(data, data_len, NULL, NULL, options);
2241 int data_len, ns_len = 0; local
2248 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lbsb", &data, &data_len, &options, &is_url, &ns, &ns_len, &isprefix) == FAILURE) {
2255 docp = is_url ? xmlReadFile(data, NULL, options) : xmlReadMemory(data, data_len, NULL, NULL, options);
/PHP_5_6/ext/pgsql/
H A Dpgsql.c2762 int data_len; local
2767 data_len = element_len;
2770 add_index_stringl(return_value, i, data, data_len, should_copy);
2776 add_assoc_stringl(return_value, field_name, data, data_len, should_copy);
7013 size_t data_len; local
7017 data_len = element_len;
7020 add_assoc_stringl(row, field_name, data, data_len, 0);
/PHP_5_6/ext/openssl/
H A Dopenssl.c4389 int data_len; local
4392 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "szZ|l", &data, &data_len, &crypted, &key, &padding) == FAILURE) {
4410 successful = (RSA_private_encrypt(data_len,
4449 int data_len; local
4451 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "szZ|l", &data, &data_len, &crypted, &key, &padding) == FAILURE) {
4468 cryptedlen = RSA_private_decrypt(data_len,
4514 int data_len; local
4516 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "szZ|l", &data, &data_len, &crypted, &key, &padding) == FAILURE)
4533 successful = (RSA_public_encrypt(data_len,
4573 int data_len; local
4658 int data_len; local
4720 char * data; int data_len; local
4774 char * data; int data_len; local
4903 char * data; int data_len; local
5006 int data_len, method_len; local
5085 int data_len, method_len, password_len, iv_len = 0, max_iv_len; local
5164 int data_len, method_len, password_len, iv_len = 0; local
[all...]

Completed in 78 milliseconds