Searched refs:datalen (Results 1 - 10 of 10) 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 TSRMLS_DC) argument
97 if (cdb_posplus(c, datalen) == -1)
104 int cdb_make_addbegin(struct cdb_make *c, unsigned int keylen, unsigned int datalen TSRMLS_DC)
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 TSRMLS_DC)
127 if (cdb_make_addbegin(c, keylen, datalen TSRMLS_CC) == -1)
131 if (cdb_make_write(c, data, datalen TSRMLS_CC) != 0)
133 return cdb_make_addend(c, keylen, datalen, cdb_hash(key, keylen) TSRMLS_CC);
/PHP_TRUNK/ext/pdo_oci/
H A Dphp_pdo_oci_int.h54 ub4 datalen; member in struct:__anon171
H A Doci_statement.c491 *alenpp = &col->datalen;
553 S->cols[colno].datalen = 512; /* XXX should be INT_MAX and fetched by pieces */
554 S->cols[colno].data = emalloc(S->cols[colno].datalen + 1);
562 S->cols[colno].datalen = sizeof(OCILobLocator*);
577 S->cols[colno].datalen = 512;
580 S->cols[colno].datalen = 1024;
583 S->cols[colno].datalen = col->maxlen;
586 S->cols[colno].datalen *= 3;
588 S->cols[colno].data = emalloc(S->cols[colno].datalen + 1);
596 S->cols[colno].data, S->cols[colno].datalen, dtyp
[all...]
/PHP_TRUNK/ext/session/
H A Dmod_mm.c52 size_t datalen; /* amount of valid data */ member in struct:ps_sd
137 sd->alloclen = sd->datalen = 0;
379 *vallen = sd->datalen;
380 *val = emalloc(sd->datalen + 1);
381 memcpy(*val, sd->data, sd->datalen);
382 (*val)[sd->datalen] = '\0';
419 sd->datalen = vallen;
/PHP_TRUNK/ext/pdo_odbc/
H A Dodbc_stmt.c596 col->maxlen = S->cols[colno].datalen = colsize;
614 S->cols[colno].datalen+1, &S->cols[colno].fetched_len);
H A Dphp_pdo_odbc_int.h138 zend_ulong datalen; member in struct:__anon123
/PHP_TRUNK/ext/standard/
H A Dvar_unserializer.c383 zend_long datalen; local
385 datalen = parse_iv2((*p) + 2, p);
389 if (datalen < 0 || (*p) + datalen >= max) {
390 zend_error(E_WARNING, "Insufficient data for unserializing - %ld required, %pd present", datalen, (zend_long)(max - (*p)));
397 } else if (ce->unserialize(rval, ce, (const unsigned char*)*p, datalen, (zend_unserialize_data *)var_hash TSRMLS_CC) != SUCCESS) {
401 (*p) += datalen;
H A Dvar_unserializer.re387 zend_long datalen;
389 datalen = parse_iv2((*p) + 2, p);
393 if (datalen < 0 || (*p) + datalen >= max) {
394 zend_error(E_WARNING, "Insufficient data for unserializing - %ld required, %pd present", datalen, (zend_long)(max - (*p)));
401 } else if (ce->unserialize(rval, ce, (const unsigned char*)*p, datalen, (zend_unserialize_data *)var_hash TSRMLS_CC) != SUCCESS) {
405 (*p) += datalen;
H A Dstreamsfuncs.c326 size_t datalen, target_addr_len = 0; local
330 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|ls", &zstream, &data, &datalen, &flags, &target_addr, &target_addr_len) == FAILURE) {
343 RETURN_LONG(php_stream_xport_sendto(stream, data, datalen, flags, target_addr ? &sa : NULL, sl TSRMLS_CC));
/PHP_TRUNK/ext/mssql/
H A Dphp_mssql.c2014 int param_name_len, datalen; local
2039 /* modify datalen and maxlen according to dbrpcparam documentation */
2043 datalen=0;
2046 datalen=Z_STRLEN_PP(var);
2052 datalen=0;
2054 datalen=-1;
2103 if (dbrpcparam(mssql_ptr->link, param_name, (BYTE)status, type, maxlen, datalen, (LPBYTE)value)==FAIL) {

Completed in 15 milliseconds