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

/PHP_TRUNK/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 Dxml.c1368 size_t data_len; local
1372 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|l", &pind, &data, &data_len, &isFinal) == FAILURE) {
1378 ret = XML_Parse(parser->parser, (XML_Char*)data, data_len, isFinal);
1393 size_t data_len; local
1396 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsz/|z/", &pind, &data, &data_len, &xdata, &info) == FAILURE) {
1424 ret = XML_Parse(parser->parser, (XML_Char*)data, data_len, 1);
/PHP_TRUNK/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 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_TRUNK/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);
1545 add_assoc_stringl(return_value, result->fields[i].name, data, data_len);
/PHP_TRUNK/ext/sockets/
H A Dconversions.c856 size_t data_len, local
897 data_len = entry->calc_space(data_elem, ctx);
902 data_len = entry->size;
904 req_space = CMSG_SPACE(data_len);
918 cmsghdr->cmsg_len = CMSG_LEN(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() TSRMLS_CC, getThis(), "Os", &id, dom_documentfragment_class_entry, &data, &data_len) == FAILURE) {
/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt.c334 &cipher, &cipher_len, &key, &key_len, &data, &data_len, &mode, &iv, &iv_len) == FAILURE) { \
619 size_t data_len; local
624 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &mcryptind, &data, &data_len) == FAILURE) {
631 if (data_len == 0) {
639 data_size = (((data_len - 1) / block_size) + 1) * block_size;
642 memcpy(data_s, data, data_len);
644 data_size = data_len;
647 memcpy(data_s, data, data_len);
664 size_t data_len; local
669 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs", &mcryptind, &data, &data_len)
1241 php_mcrypt_do_crypt(char* cipher, const char *key, int key_len, const char *data, int data_len, char *mode, const char *iv, size_t iv_len, size_t dencrypt, zval* return_value TSRMLS_DC) argument
1307 size_t cipher_len, key_len, data_len, mode_len, iv_len = 0; local
1323 size_t cipher_len, key_len, data_len, mode_len, iv_len = 0; local
1340 size_t cipher_len, key_len, data_len, iv_len = 0; local
1356 size_t cipher_len, key_len, data_len, iv_len = 0; local
1372 size_t cipher_len, key_len, data_len, iv_len = 0; local
1388 size_t cipher_len, key_len, data_len, iv_len = 0; local
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c2154 size_t data_len; local
2162 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|C!lsb", &data, &data_len, &ce, &options, &ns, &ns_len, &isprefix) == FAILURE) {
2166 docp = xmlReadMemory(data, data_len, NULL, NULL, options);
2191 size_t data_len, ns_len = 0; local
2198 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lbsb", &data, &data_len, &options, &is_url, &ns, &ns_len, &isprefix) == FAILURE) {
2205 docp = is_url ? xmlReadFile(data, NULL, options) : xmlReadMemory(data, data_len, NULL, NULL, options);
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c4355 size_t data_len; local
4358 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz/z|l", &data, &data_len, &crypted, &key, &padding) == FAILURE) {
4376 successful = (RSA_private_encrypt(data_len,
4415 size_t data_len; local
4417 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz/z|l", &data, &data_len, &crypted, &key, &padding) == FAILURE) {
4434 cryptedlen = RSA_private_decrypt(data_len,
4480 size_t data_len; local
4482 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sz/z|l", &data, &data_len, &crypted, &key, &padding) == FAILURE)
4498 successful = (RSA_public_encrypt(data_len,
4538 size_t data_len; local
4623 size_t data_len; local
4687 size_t data_len; local
4742 size_t data_len; local
4870 size_t data_len; local
4973 size_t data_len, method_len; local
5054 size_t data_len, method_len, password_len, iv_len = 0, max_iv_len; local
5134 size_t data_len, method_len, password_len, iv_len = 0; local
[all...]
/PHP_TRUNK/ext/hash/
H A Dhash.c123 size_t algo_len, data_len; local
129 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "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() TSRMLS_CC, "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() TSRMLS_CC, "rs", &zhash, &data, &data_len) == FAILURE) {
408 hash->ops->hash_update(hash->context, (unsigned char *) data, data_len);
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c2007 size_t data_len; local
2009 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ols", &mysql_stmt, mysqli_stmt_class_entry, &param_nr, &data, &data_len) == FAILURE) {
2018 if (mysql_stmt_send_long_data(stmt->stmt, param_nr, data, data_len)) {

Completed in 35 milliseconds