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

/PHP_5_3/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_3/ext/mssql/
H A Dphp_mssql.c2019 int param_name_len, datalen; local
2044 /* modify datalen and maxlen according to dbrpcparam documentation */
2048 datalen=0;
2051 datalen=Z_STRLEN_PP(var);
2057 datalen=0;
2059 datalen=-1;
2108 if (dbrpcparam(mssql_ptr->link, param_name, (BYTE)status, type, maxlen, datalen, (LPBYTE)value)==FAIL) {
/PHP_5_3/ext/pdo_oci/
H A Dphp_pdo_oci_int.h54 ub4 datalen; member in struct:__anon142
/PHP_5_3/ext/pdo_odbc/
H A Dphp_pdo_odbc_int.h138 unsigned long datalen; member in struct:__anon147
/PHP_5_3/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;
344 *vallen = sd->datalen;
345 *val = emalloc(sd->datalen + 1);
346 memcpy(*val, sd->data, sd->datalen);
347 (*val)[sd->datalen] = '\0';
384 sd->datalen = vallen;
/PHP_5_3/ext/sqlite/
H A Dsqlite.c3387 int datalen; local
3389 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s!", &data, &datalen)) {
3396 if (datalen && (data[0] == '\x01' || memchr(data, '\0', datalen) != NULL)) {
3401 ret = safe_emalloc(1 + datalen / 254, 257, 3);
3403 enclen = php_sqlite_encode_binary(data, datalen, ret+1);
3406 RETVAL_STRINGL(data, datalen, 1);
3416 int datalen; local
3418 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s!", &data, &datalen)) {
3425 if (datalen
[all...]
/PHP_5_3/ext/standard/
H A Dvar_unserializer.c332 long datalen; local
334 datalen = parse_iv2((*p) + 2, p);
338 if (datalen < 0 || (*p) + datalen >= max) {
339 zend_error(E_WARNING, "Insufficient data for unserializing - %ld required, %ld present", datalen, (long)(max - (*p)));
346 } else if (ce->unserialize(rval, ce, (const unsigned char*)*p, datalen, (zend_unserialize_data *)var_hash TSRMLS_CC) != SUCCESS) {
350 (*p) += datalen;
H A Dstring.c201 int datalen; local
203 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &data, &datalen) == FAILURE) {
207 result = php_bin2hex((unsigned char *)data, datalen, &newlen);
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));

Completed in 26 milliseconds