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

/PHP_5_5/ext/pdo_oci/
H A Dphp_pdo_oci_int.h54 ub4 datalen; member in struct:__anon170
/PHP_5_5/ext/pdo_odbc/
H A Dphp_pdo_odbc_int.h138 unsigned long datalen; member in struct:__anon175
/PHP_5_5/ext/standard/
H A Dstreamsfuncs.c331 int datalen, target_addr_len = 0; local
335 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rs|ls", &zstream, &data, &datalen, &flags, &target_addr, &target_addr_len) == FAILURE) {
348 RETURN_LONG(php_stream_xport_sendto(stream, data, datalen, flags, target_addr ? &sa : NULL, sl TSRMLS_CC));
H A Dstring.c247 int datalen; local
249 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &data, &datalen) == FAILURE) {
253 result = php_bin2hex((unsigned char *)data, datalen, &newlen);
269 int datalen; local
271 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &data, &datalen) == FAILURE) {
275 if (datalen % 2 != 0) {
280 result = php_hex2bin((unsigned char *)data, datalen, &newlen);
H A Dvar_unserializer.c368 long datalen; local
370 datalen = parse_iv2((*p) + 2, p);
374 if (datalen < 0 || (*p) + datalen >= max) {
375 zend_error(E_WARNING, "Insufficient data for unserializing - %ld required, %ld present", datalen, (long)(max - (*p)));
382 } else if (ce->unserialize(rval, ce, (const unsigned char*)*p, datalen, (zend_unserialize_data *)var_hash TSRMLS_CC) != SUCCESS) {
386 (*p) += datalen;
/PHP_5_5/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_5_5/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) {
/PHP_5_5/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;

Completed in 45 milliseconds