Searched defs:datalen (Results 1 - 7 of 7) sorted by relevance

/PHP_TRUNK/ext/dba/libcdb/
H A Dcdb_make.c76 int cdb_make_addend(struct cdb_make *c, unsigned int keylen, unsigned int datalen, uint32 h) argument
97 if (cdb_posplus(c, datalen) == -1)
104 int cdb_make_addbegin(struct cdb_make *c, unsigned int keylen, unsigned int datalen) argument
112 if (datalen > 0xffffffff) {
118 uint32_pack(buf + 4, datalen);
125 int cdb_make_add(struct cdb_make *c,char *key,unsigned int keylen,char *data,unsigned int datalen) argument
127 if (cdb_make_addbegin(c, keylen, datalen) == -1)
131 if (cdb_make_write(c, data, datalen) != 0)
133 return cdb_make_addend(c, keylen, datalen, cdb_hash(key, keylen));
/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.c2011 int param_name_len, datalen; local
2036 /* modify datalen and maxlen according to dbrpcparam documentation */
2040 datalen=0;
2043 datalen=Z_STRLEN_PP(var);
2049 datalen=0;
2051 datalen=-1;
2100 if (dbrpcparam(mssql_ptr->link, param_name, (BYTE)status, type, maxlen, datalen, (LPBYTE)value)==FAIL) {
/PHP_TRUNK/ext/pdo_oci/
H A Dphp_pdo_oci_int.h54 ub4 datalen; member in struct:__anon167
/PHP_TRUNK/ext/pdo_odbc/
H A Dphp_pdo_odbc_int.h138 zend_ulong datalen; member in struct:__anon172
/PHP_TRUNK/ext/session/
H A Dmod_mm.c52 size_t datalen; /* amount of valid data */ member in struct:ps_sd
136 sd->alloclen = sd->datalen = 0;
378 *vallen = sd->datalen;
379 *val = emalloc(sd->datalen + 1);
380 memcpy(*val, sd->data, sd->datalen);
381 (*val)[sd->datalen] = '\0';
418 sd->datalen = vallen;
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c326 size_t datalen, target_addr_len = 0; local
330 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|ls", &zstream, &data, &datalen, &flags, &target_addr, &target_addr_len) == FAILURE) {
343 RETURN_LONG(php_stream_xport_sendto(stream, data, datalen, (int)flags, target_addr ? &sa : NULL, sl));
H A Dvar_unserializer.c402 zend_long datalen; local
404 datalen = parse_iv2((*p) + 2, p);
408 if (datalen < 0 || (max - (*p)) <= datalen) {
409 zend_error(E_WARNING, "Insufficient data for unserializing - %pd required, %pd present", datalen, (zend_long)(max - (*p)));
416 } else if (ce->unserialize(rval, ce, (const unsigned char*)*p, datalen, (zend_unserialize_data *)var_hash) != SUCCESS) {
420 (*p) += datalen;

Completed in 13 milliseconds