Home
last modified time | relevance | path

Searched refs:vallen (Results 1 – 25 of 29) sorted by relevance

12

/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_bt.c34 #define TRACE_APPEND_STRL(val, vallen) \ argument
36 int l = vallen; \
42 #define TRACE_APPEND_USTRL(val, vallen) \ argument
46 ZVAL_UNICODEL(&tmp, val, vallen, 1); \
279 #define TRACE_APPEND_STRL(val, vallen) \ argument
281 int l = vallen; \
/PHP-5.4/ext/session/
H A Dmod_files.c365 data->st_size = *vallen = sbuf.st_size; in PS_READ_FUNC()
406 if (vallen < (int)data->st_size) { in PS_WRITE_FUNC()
411 n = pwrite(data->fd, val, vallen, 0); in PS_WRITE_FUNC()
414 n = write(data->fd, val, vallen); in PS_WRITE_FUNC()
417 if (n != vallen) { in PS_WRITE_FUNC()
H A Dmod_mm.c346 *vallen = sd->datalen; in PS_READ_FUNC()
372 if (vallen >= sd->alloclen) { in PS_WRITE_FUNC()
376 sd->alloclen = vallen + 1; in PS_WRITE_FUNC()
386 sd->datalen = vallen; in PS_WRITE_FUNC()
387 memcpy(sd->data, val, vallen); in PS_WRITE_FUNC()
H A Dmod_user.c140 *vallen = Z_STRLEN_P(retval); in PS_READ_FUNC()
155 SESS_ZVAL_STRINGN((char*)val, vallen, args[1]); in PS_WRITE_FUNC()
H A Dphp_session.h34 #define PS_READ_ARGS void **mod_data, const char *key, char **val, int *vallen TSRMLS_DC
35 #define PS_WRITE_ARGS void **mod_data, const char *key, const char *val, const int vallen TSRMLS_DC
191 #define PS_SERIALIZER_DECODE_ARGS const char *val, int vallen TSRMLS_DC
H A Dsession.c213 static int php_session_decode(const char *val, int vallen TSRMLS_DC) /* {{{ */ in php_session_decode()
219 if (PS(serializer)->decode(val, vallen TSRMLS_CC) == FAILURE) { in php_session_decode()
434 int vallen; in php_session_initialize() local
469 if (PS(mod)->s_read(&PS(mod_data), PS(id), &val, &vallen TSRMLS_CC) == SUCCESS) { in php_session_initialize()
470 php_session_decode(val, vallen TSRMLS_CC); in php_session_initialize()
488 int vallen; in php_session_save_current_state() local
490 val = php_session_encode(&vallen TSRMLS_CC); in php_session_save_current_state()
492 ret = PS(mod)->s_write(&PS(mod_data), PS(id), val, vallen TSRMLS_CC); in php_session_save_current_state()
827 const char *endptr = val + vallen;
918 const char *endptr = val + vallen;
/PHP-5.4/ext/odbc/
H A Dphp_birdstep.h37 long vallen; member
H A Dphp_odbc.c986 27, &result->values[i].vallen); in odbc_bindcols()
1252 SQLLEN vallen; in PHP_FUNCTION() member
1319 params[i-1].vallen = Z_STRLEN_PP(tmp); in PHP_FUNCTION()
1382 &params[i-1].vallen); in PHP_FUNCTION()
1385 precision = params[i-1].vallen; in PHP_FUNCTION()
1388 params[i-1].vallen = SQL_NULL_DATA; in PHP_FUNCTION()
1394 &params[i-1].vallen); in PHP_FUNCTION()
1775 Z_STRLEN_P(tmp) = result->values[i].vallen; in php_odbc_fetch_hash()
1785 Z_STRLEN_P(tmp) = result->values[i].vallen; in php_odbc_fetch_hash()
1940 Z_STRLEN_P(tmp) = result->values[i].vallen; in PHP_FUNCTION()
[all …]
H A Dphp_odbc_includes.h238 SQLLEN vallen; member
/PHP-5.4/sapi/caudium/
H A Dcaudium.c288 int vallen; in php_caudium_set_header() local
308 vallen = strlen(value); in php_caudium_set_header()
313 hval = begin_shared_string(soldval->u.string->len + 1 + vallen); in php_caudium_set_header()
316 MEMCPY(hval->str+soldval->u.string->len+1, value, vallen); in php_caudium_set_header()
/PHP-5.4/ext/dba/
H A Ddba_ndbm.c97 gval.dsize = vallen; in DBA_UPDATE_FUNC()
H A Ddba_flatfile.c88 gval.dsize = vallen; in DBA_UPDATE_FUNC()
H A Ddba_qdbm.c101 result = dpput(dba->dbf, key, keylen, val, vallen, mode == 1 ? DP_DKEEP : DP_DOVER); in DBA_UPDATE_FUNC()
H A Ddba_dbm.c125 gval.dsize = vallen; in DBA_UPDATE_FUNC()
H A Ddba_tcadb.c119 result = tcadbput(dba->tcadb, key, keylen, val, vallen); in DBA_UPDATE_FUNC()
H A Ddba_db1.c118 gval.size = vallen; in DBA_UPDATE_FUNC()
H A Dphp_dba.h100 …int dba_update_##x(dba_info *info, char *key, int keylen, char *val, int vallen, int mode TSRMLS_D…
H A Ddba_db2.c120 gval.size = vallen; in DBA_UPDATE_FUNC()
H A Ddba_gdbm.c105 gval.dsize = vallen; in DBA_UPDATE_FUNC()
H A Ddba_db3.c146 gval.size = vallen; in DBA_UPDATE_FUNC()
H A Ddba_cdb.c189 if (cdb_make_add(&cdb->m, key, keylen, val, vallen TSRMLS_CC) != -1) in DBA_UPDATE_FUNC()
H A Ddba_db4.c190 gval.size = vallen;
/PHP-5.4/Zend/
H A Dzend_exceptions.c369 #define TRACE_APPEND_STRL(val, vallen) \ argument
371 int l = vallen; \
391 #define TRACE_ARG_APPEND(vallen) \ argument
392 *str = (char*)erealloc(*str, *len + 1 + vallen); \
393 memmove((*str) + *len - l_added + 1 + vallen, (*str) + *len - l_added + 1, l_added);
/PHP-5.4/ext/fileinfo/libmagic/
H A Dsoftmagic.c450 t = ms->offset + m->vallen; in mprint()
595 t = ms->search.offset + m->vallen; in mprint()
645 return ms->offset + m->vallen; in moffset()
701 return CAST(int32_t, (ms->search.offset + m->vallen)); in moffset()
1696 if (OFFSET_OOB(nbytes, offset, m->vallen)) in mget()
2014 v = file_strncmp(m->value.s, p->s, (size_t)m->vallen, m->str_flags); in magiccheck()
2020 v = file_strncmp16(m->value.s, p->s, (size_t)m->vallen, m->str_flags); in magiccheck()
2030 slen = MIN(m->vallen, sizeof(m->value.s)); in magiccheck()
2053 ZVAL_STRINGL(pattern, (char *)m->value.s, m->vallen, 0); in magiccheck()
/PHP-5.4/ext/wddx/
H A Dwddx.c304 if (vallen == 0) { in PS_SERIALIZER_DECODE_FUNC()
310 if ((ret = php_wddx_deserialize_ex((char *)val, vallen, retval)) == SUCCESS) { in PS_SERIALIZER_DECODE_FUNC()
1124 int php_wddx_deserialize_ex(char *value, int vallen, zval *return_value) in php_wddx_deserialize_ex() argument
1138 XML_Parse(parser, value, vallen, 1); in php_wddx_deserialize_ex()

Completed in 65 milliseconds

12