Home
last modified time | relevance | path

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

12

/PHP-5.6/ext/session/
H A Dmod_files.c378 data->st_size = *vallen = sbuf.st_size; in PS_READ_FUNC()
419 if (vallen < (int)data->st_size) { in PS_WRITE_FUNC()
424 n = pwrite(data->fd, val, vallen, 0); in PS_WRITE_FUNC()
427 n = write(data->fd, val, vallen); in PS_WRITE_FUNC()
430 if (n != vallen) { in PS_WRITE_FUNC()
H A Dmod_mm.c379 *vallen = sd->datalen; in PS_READ_FUNC()
405 if (vallen >= sd->alloclen) { in PS_WRITE_FUNC()
409 sd->alloclen = vallen + 1; in PS_WRITE_FUNC()
419 sd->datalen = vallen; in PS_WRITE_FUNC()
420 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.h37 #define PS_READ_ARGS void **mod_data, const char *key, char **val, int *vallen TSRMLS_DC
38 #define PS_WRITE_ARGS void **mod_data, const char *key, const char *val, const int vallen TSRMLS_DC
198 #define PS_SERIALIZER_DECODE_ARGS const char *val, int vallen TSRMLS_DC
H A Dsession.c219 static int php_session_decode(const char *val, int vallen TSRMLS_DC) /* {{{ */ in php_session_decode()
225 if (PS(serializer)->decode(val, vallen TSRMLS_CC) == FAILURE) { in php_session_decode()
474 int vallen; in php_session_initialize() local
507 if (PS(mod)->s_read(&PS(mod_data), PS(id), &val, &vallen TSRMLS_CC) == FAILURE) { in php_session_initialize()
520 php_session_decode(val, vallen TSRMLS_CC); in php_session_initialize()
540 int vallen; in php_session_save_current_state() local
542 val = php_session_encode(&vallen TSRMLS_CC); in php_session_save_current_state()
544 ret = PS(mod)->s_write(&PS(mod_data), PS(id), val, vallen TSRMLS_CC); in php_session_save_current_state()
861 const char *endptr = val + vallen; in PS_SERIALIZER_DECODE_FUNC()
922 const char *endptr = val + vallen;
[all …]
/PHP-5.6/ext/odbc/
H A Dphp_birdstep.h37 long vallen; member
H A Dphp_odbc.c997 27, &result->values[i].vallen); in odbc_bindcols()
1294 SQLLEN vallen; in PHP_FUNCTION() member
1358 params[i-1].vallen = Z_STRLEN_PP(tmp); in PHP_FUNCTION()
1410 &params[i-1].vallen); in PHP_FUNCTION()
1413 precision = params[i-1].vallen; in PHP_FUNCTION()
1416 params[i-1].vallen = SQL_NULL_DATA; in PHP_FUNCTION()
1422 &params[i-1].vallen); in PHP_FUNCTION()
1803 Z_STRLEN_P(tmp) = result->values[i].vallen; in php_odbc_fetch_hash()
1813 Z_STRLEN_P(tmp) = result->values[i].vallen; in php_odbc_fetch_hash()
1968 Z_STRLEN_P(tmp) = result->values[i].vallen; in PHP_FUNCTION()
[all …]
H A Dphp_odbc_includes.h232 SQLLEN vallen; member
/PHP-5.6/ext/mysqlnd/
H A Dmysqlnd_bt.c33 #define TRACE_APPEND_STRL(val, vallen) \ argument
35 int l = vallen; \
/PHP-5.6/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.c100 if (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.6/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.6/Zend/
H A Dzend_exceptions.c377 #define TRACE_APPEND_STRL(val, vallen) \ argument
379 int l = vallen; \
399 #define TRACE_ARG_APPEND(vallen) \ argument
400 *str = (char*)erealloc(*str, *len + 1 + vallen); \
401 memmove((*str) + *len - l_added + 1 + vallen, (*str) + *len - l_added + 1, l_added);
/PHP-5.6/ext/fileinfo/libmagic/
H A Dsoftmagic.c481 t = ms->offset + m->vallen; in mprint()
629 t = ms->search.offset + m->vallen; in mprint()
680 return ms->offset + m->vallen; in moffset()
736 return CAST(int32_t, (ms->search.offset + m->vallen)); in moffset()
1730 if (OFFSET_OOB(nbytes, offset, m->vallen)) in mget()
2050 v = file_strncmp(m->value.s, p->s, (size_t)m->vallen, m->str_flags); in magiccheck()
2056 v = file_strncmp16(m->value.s, p->s, (size_t)m->vallen, m->str_flags); in magiccheck()
2066 slen = MIN(m->vallen, sizeof(m->value.s)); in magiccheck()
2089 ZVAL_STRINGL(pattern, (char *)m->value.s, m->vallen, 0); in magiccheck()
/PHP-5.6/ext/intl/converter/
H A Dconverter.c284 int vallen = Z_STRLEN_P(val); in php_converter_append_fromUnicode_target() local
285 if (TARGET_CHECK(args, vallen)) { in php_converter_append_fromUnicode_target()
286 memcpy(args->target, Z_STRVAL_P(val), vallen); in php_converter_append_fromUnicode_target()
287 args->target += vallen; in php_converter_append_fromUnicode_target()

Completed in 98 milliseconds

12