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

/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 Dxml.c1371 size_t data_len; local
1375 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|l", &pind, &data, &data_len, &isFinal) == FAILURE) {
1381 ret = XML_Parse(parser->parser, (XML_Char*)data, data_len, isFinal);
1396 size_t data_len; local
1399 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rsz/|z/", &pind, &data, &data_len, &xdata, &info) == FAILURE) {
1427 ret = XML_Parse(parser->parser, (XML_Char*)data, data_len, 1);
/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/gmp/
H A Dgmp.c1098 size_t data_len; local
1104 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ll", &data, &data_len, &size, &options) == FAILURE) {
1112 if ((data_len % size) != 0) {
1120 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) {
408 hash->ops->hash_update(hash->context, (unsigned char *) data, data_len);
[all...]
/PHP_TRUNK/ext/mcrypt/
H A Dmcrypt.c334 &cipher, &cipher_len, &key, &key_len, &data, &data_len, &mode, &iv, &iv_len) == FAILURE) { \
623 size_t data_len; local
628 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &mcryptind, &data, &data_len) == FAILURE) {
635 if (data_len == 0) {
643 data_size = ((((int)data_len - 1) / block_size) + 1) * block_size;
646 memcpy(data_s, data, data_len);
648 data_size = (int)data_len;
651 memcpy(data_s, data, data_len);
668 size_t data_len; local
673 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs", &mcryptind, &data, &data_len)
1245 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
1311 size_t cipher_len, key_len, data_len, mode_len, iv_len = 0; local
1327 size_t cipher_len, key_len, data_len, mode_len, iv_len = 0; local
1344 size_t cipher_len, key_len, data_len, iv_len = 0; local
1360 size_t cipher_len, key_len, data_len, iv_len = 0; local
1376 size_t cipher_len, key_len, data_len, iv_len = 0; local
1392 size_t cipher_len, key_len, data_len, iv_len = 0; local
[all...]
/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.c1531 int data_len; local
1535 data_len = Z_STRLEN(result->data[result->cur_row][i]);
1538 add_index_stringl(return_value, i, data, data_len);
1542 add_assoc_stringl(return_value, result->fields[i].name, data, data_len);
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_api.c2007 size_t data_len; local
2009 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), 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)) {
/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...]
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c4411 size_t data_len; local
4414 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz/z|l", &data, &data_len, &crypted, &key, &padding) == FAILURE) {
4432 successful = (RSA_private_encrypt(data_len,
4471 size_t data_len; local
4473 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz/z|l", &data, &data_len, &crypted, &key, &padding) == FAILURE) {
4490 cryptedlen = RSA_private_decrypt(data_len,
4536 size_t data_len; local
4538 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sz/z|l", &data, &data_len, &crypted, &key, &padding) == FAILURE)
4554 successful = (RSA_public_encrypt(data_len,
4594 size_t data_len; local
4679 size_t data_len; local
4743 size_t data_len; local
4798 size_t data_len; local
4926 size_t data_len; local
5029 size_t data_len, method_len; local
5110 size_t data_len, method_len, password_len, iv_len = 0, max_iv_len; local
5190 size_t data_len, method_len, password_len, iv_len = 0; local
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c2145 size_t data_len; local
2153 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|C!lsb", &data, &data_len, &ce, &options, &ns, &ns_len, &isprefix) == FAILURE) {
2157 docp = xmlReadMemory(data, data_len, NULL, NULL, options);
2182 size_t data_len, ns_len = 0; local
2189 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|lbsb", &data, &data_len, &options, &is_url, &ns, &ns_len, &isprefix) == FAILURE) {
2196 docp = is_url ? xmlReadFile(data, NULL, options) : xmlReadMemory(data, data_len, NULL, NULL, options);
/PHP_TRUNK/ext/sockets/
H A Dconversions.c836 size_t data_len, local
877 data_len = entry->calc_space(data_elem, ctx);
882 data_len = entry->size;
884 req_space = CMSG_SPACE(data_len);
898 cmsghdr->cmsg_len = CMSG_LEN(data_len);

Completed in 39 milliseconds