Searched refs:datalen (Results 1 - 9 of 9) sorted by relevance

/PHP_TRUNK/ext/pdo_oci/
H A Doci_statement.c488 *alenpp = &col->datalen;
550 S->cols[colno].datalen = 512; /* XXX should be INT_MAX and fetched by pieces */
551 S->cols[colno].data = emalloc(S->cols[colno].datalen + 1);
559 S->cols[colno].datalen = sizeof(OCILobLocator*);
574 S->cols[colno].datalen = 512;
577 S->cols[colno].datalen = 1024;
580 S->cols[colno].datalen = col->maxlen;
583 S->cols[colno].datalen *= 3;
585 S->cols[colno].data = emalloc(S->cols[colno].datalen + 1);
593 S->cols[colno].data, S->cols[colno].datalen, dtyp
[all...]
H A Dphp_pdo_oci_int.h54 ub4 datalen; member in struct:__anon178
/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:__anon183
/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/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 *val = zend_string_init(sd->data, sd->datalen, 0);
415 sd->datalen = val->len;
/PHP_TRUNK/ext/standard/
H A Dvar_unserializer.c419 zend_long datalen; local
421 datalen = parse_iv2((*p) + 2, p);
425 if (datalen < 0 || (max - (*p)) <= datalen) {
426 zend_error(E_WARNING, "Insufficient data for unserializing - %pd required, %pd present", datalen, (zend_long)(max - (*p)));
433 } else if (ce->unserialize(rval, ce, (const unsigned char*)*p, datalen, (zend_unserialize_data *)var_hash) != SUCCESS) {
437 (*p) += datalen;
H A Dvar_unserializer.re423 zend_long datalen;
425 datalen = parse_iv2((*p) + 2, p);
429 if (datalen < 0 || (max - (*p)) <= datalen) {
430 zend_error(E_WARNING, "Insufficient data for unserializing - %pd required, %pd present", datalen, (zend_long)(max - (*p)));
437 } else if (ce->unserialize(rval, ce, (const unsigned char*)*p, datalen, (zend_unserialize_data *)var_hash) != SUCCESS) {
441 (*p) += datalen;
H A Dstreamsfuncs.c325 size_t datalen, target_addr_len = 0; local
329 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rs|ls", &zstream, &data, &datalen, &flags, &target_addr, &target_addr_len) == FAILURE) {
342 RETURN_LONG(php_stream_xport_sendto(stream, data, datalen, (int)flags, target_addr ? &sa : NULL, sl));

Completed in 12 milliseconds