Home
last modified time | relevance | path

Searched refs:datalen (Results 1 – 18 of 18) sorted by relevance

/PHP-7.0/ext/dba/libcdb/
H A Dcdb_make.c76 int cdb_make_addend(struct cdb_make *c, unsigned int keylen, unsigned int datalen, uint32 h) in cdb_make_addend() argument
97 if (cdb_posplus(c, datalen) == -1) in cdb_make_addend()
104 int cdb_make_addbegin(struct cdb_make *c, unsigned int keylen, unsigned int datalen) in cdb_make_addbegin() argument
112 if (datalen > 0xffffffff) { in cdb_make_addbegin()
118 uint32_pack(buf + 4, datalen); in cdb_make_addbegin()
125 int cdb_make_add(struct cdb_make *c,char *key,unsigned int keylen,char *data,unsigned int datalen) in cdb_make_add() argument
127 if (cdb_make_addbegin(c, keylen, datalen) == -1) in cdb_make_add()
131 if (cdb_make_write(c, data, datalen) != 0) in cdb_make_add()
133 return cdb_make_addend(c, keylen, datalen, cdb_hash(key, keylen)); in cdb_make_add()
/PHP-7.0/ext/curl/tests/
H A Dcurl_CURLOPT_READDATA.phpt18 $datalen = file_put_contents($tempname, "hello=world&smurf=blue");
27 curl_setopt($ch, CURLOPT_HTTPHEADER, array('Expect:', "Content-Length: {$datalen}"));
/PHP-7.0/ext/standard/tests/filters/
H A Dbug73586.phpt9 $consumed += $bucket->datalen;
30 $consumed += $bucket->datalen;
H A Dbug46164-1.phpt8 $consumed += $bucket->datalen;
H A Dbug46164-2.phpt8 $consumed += $bucket->datalen;
H A Dbug35916.phpt14 $consumed += $bucket->datalen;
H A Dread.phpt12 $consumed += $bucket->datalen;
H A Dfilter_errors_user.phpt21 $consumed += $bucket->datalen;
/PHP-7.0/ext/standard/tests/streams/
H A Duser_streams_consumed_bug.phpt12 $consumed += $bucket->datalen;
/PHP-7.0/ext/pdo_oci/
H A Doci_statement.c512 *alenpp = &col->datalen; in oci_define_callback()
573 S->cols[colno].datalen = 512; /* XXX should be INT_MAX and fetched by pieces */ in oci_stmt_describe()
574 S->cols[colno].data = emalloc(S->cols[colno].datalen + 1); in oci_stmt_describe()
582 S->cols[colno].datalen = sizeof(OCILobLocator*); in oci_stmt_describe()
597 S->cols[colno].datalen = 512; in oci_stmt_describe()
600 S->cols[colno].datalen = 1024; in oci_stmt_describe()
603 S->cols[colno].datalen = (ub4) col->maxlen * 2; // raw characters to hex digits in oci_stmt_describe()
605 S->cols[colno].datalen = (ub4) (col->maxlen * S->H->max_char_width); in oci_stmt_describe()
608 S->cols[colno].data = emalloc(S->cols[colno].datalen + 1); in oci_stmt_describe()
616 S->cols[colno].data, S->cols[colno].datalen, dtype, &S->cols[colno].indicator, in oci_stmt_describe()
H A Dphp_pdo_oci_int.h56 ub4 datalen; member
/PHP-7.0/ext/opcache/tests/
H A Dbug64353.phpt17 $consumed += $bucket->datalen;
/PHP-7.0/ext/session/
H A Dmod_mm.c52 size_t datalen; /* amount of valid data */ member
136 sd->alloclen = sd->datalen = 0; in ps_sd_new()
378 *val = zend_string_init(sd->data, sd->datalen, 0); in PS_READ_FUNC()
415 sd->datalen = val->len; in PS_WRITE_FUNC()
/PHP-7.0/ext/pdo_odbc/
H A Dphp_pdo_odbc_int.h138 zend_ulong datalen; member
H A Dodbc_stmt.c614 col->maxlen = S->cols[colno].datalen = colsize; in odbc_stmt_describe()
631 S->cols[colno].datalen+1, &S->cols[colno].fetched_len); in odbc_stmt_describe()
/PHP-7.0/ext/standard/
H A Dvar_unserializer.c432 zend_long datalen; in object_custom() local
434 datalen = parse_iv2((*p) + 2, p); in object_custom()
438 if (datalen < 0 || (max - (*p)) <= datalen) { in object_custom()
439 …zend_error(E_WARNING, "Insufficient data for unserializing - %pd required, %pd present", datalen, … in object_custom()
446 …} else if (ce->unserialize(rval, ce, (const unsigned char*)*p, datalen, (zend_unserialize_data *)v… in object_custom()
450 (*p) += datalen; in object_custom()
H A Dvar_unserializer.re436 zend_long datalen;
438 datalen = parse_iv2((*p) + 2, p);
442 if (datalen < 0 || (max - (*p)) <= datalen) {
443 …zend_error(E_WARNING, "Insufficient data for unserializing - %pd required, %pd present", datalen, …
450 …} else if (ce->unserialize(rval, ce, (const unsigned char*)*p, datalen, (zend_unserialize_data *)v…
454 (*p) += datalen;
H A Dstreamsfuncs.c334 size_t datalen, target_addr_len = 0; in PHP_FUNCTION() local
338 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|ls", &zstream, &data, &datalen, &flags, &target_add… in PHP_FUNCTION()
351 …RETURN_LONG(php_stream_xport_sendto(stream, data, datalen, (int)flags, target_addr ? &sa : NULL, s… in PHP_FUNCTION()

Completed in 67 milliseconds