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

/PHP_5_4/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_4/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_4/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.h135 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_4/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_4/ext/hash/
H A Dhash.c128 int algo_len, data_len; local
134 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|b", &algo, &algo_len, &data, &data_len, &raw_output) == FAILURE) {
144 if (CHECK_NULL_PATH(data, data_len)) {
166 ops->hash_update(context, (unsigned char *) data, data_len);
208 int algo_len, data_len, key_len, i; local
214 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss|b", &algo, &algo_len, &data, &data_len,
263 ops->hash_update(context, (unsigned char *) data, data_len);
390 int data_len; local
392 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &zhash, &data, &data_len) == FAILURE) {
398 hash->ops->hash_update(hash->context, (unsigned char *) data, data_len);
[all...]
/PHP_5_4/ext/mcrypt/
H A Dmcrypt.c369 &cipher, &cipher_len, &key, &key_len, &data, &data_len, &mode, &iv, &iv_len) == FAILURE) { \
659 int data_len; local
664 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &mcryptind, &data, &data_len) == FAILURE) {
671 if (data_len == 0) {
679 data_size = (((data_len - 1) / block_size) + 1) * block_size;
682 memcpy(data_s, data, data_len);
684 data_size = data_len;
687 memcpy(data_s, data, data_len);
704 int data_len; local
709 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &mcryptind, &data, &data_len)
1168 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 argc, int dencrypt, zval* return_value TSRMLS_DC) argument
1281 int cipher_len, key_len, data_len, iv_len = 0; local
1297 int cipher_len, key_len, data_len, iv_len = 0; local
1313 int cipher_len, key_len, data_len, iv_len = 0; local
1329 int cipher_len, key_len, data_len, iv_len = 0; local
1345 int cipher_len, key_len, data_len, iv_len = 0; local
1361 int cipher_len, key_len, data_len, iv_len = 0; local
[all...]
/PHP_5_4/ext/mssql/
H A Dphp_mssql.c1529 int data_len; local
1533 data_len = Z_STRLEN(result->data[result->cur_row][i]);
1536 add_index_stringl(return_value, i, data, data_len, 1);
1540 add_assoc_stringl(return_value, result->fields[i].name, data, data_len, 1);
/PHP_5_4/ext/oci8/
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...]
H A Doci8_lob.c236 int php_oci_lob_read (php_oci_descriptor *descriptor, long read_length, long initial_offset, char **data, ub4 *data_len TSRMLS_DC)
254 *data_len = 0;
257 ctx.lob_len = data_len;
401 *data_len = 0;
417 *data_len = 0;
427 int php_oci_lob_write (php_oci_descriptor *descriptor, ub4 offset, char *data, int data_len, ub4 *bytes_written TSRMLS_DC) argument
438 if (!data || data_len <= 0) {
455 (ub4 *)&data_len,
458 (ub4) data_len,
473 *bytes_written = data_len;
[all...]
/PHP_5_4/ext/mysqli/
H A Dmysqli_api.c1946 int data_len; local
1948 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ols", &mysql_stmt, mysqli_stmt_class_entry, &param_nr, &data, &data_len) == FAILURE) {
1957 if (mysql_stmt_send_long_data(stmt->stmt, param_nr, data, data_len)) {
/PHP_5_4/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_4/ext/pgsql/
H A Dpgsql.c2651 int data_len; local
2656 data_len = element_len;
2659 add_index_stringl(return_value, i, data, data_len, should_copy);
2665 add_assoc_stringl(return_value, field_name, data, data_len, should_copy);
6561 size_t data_len; local
6565 data_len = element_len;
6568 add_assoc_stringl(row, field_name, data, data_len, 0);
/PHP_5_4/ext/openssl/
H A Dopenssl.c3900 int data_len; local
3903 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "szZ|l", &data, &data_len, &crypted, &key, &padding) == FAILURE) {
3921 successful = (RSA_private_encrypt(data_len,
3960 int data_len; local
3962 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "szZ|l", &data, &data_len, &crypted, &key, &padding) == FAILURE) {
3979 cryptedlen = RSA_private_decrypt(data_len,
4025 int data_len; local
4027 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "szZ|l", &data, &data_len, &crypted, &key, &padding) == FAILURE)
4044 successful = (RSA_public_encrypt(data_len,
4084 int data_len; local
4169 int data_len; local
4231 char * data; int data_len; local
4285 char * data; int data_len; local
4414 char * data; int data_len; local
4765 int data_len, method_len; local
4844 int data_len, method_len, password_len, iv_len = 0, max_iv_len; local
4923 int data_len, method_len, password_len, iv_len = 0; local
[all...]

Completed in 85 milliseconds