Searched refs:dsize (Results 1 – 7 of 7) sorted by relevance
/php-src/ext/dba/libflatfile/ |
H A D | flatfile.c | 55 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store() 60 if (php_stream_write(dba->fp, value_datum.dptr, value_datum.dsize) < value_datum.dsize) { in flatfile_store() 67 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store() 71 if (php_stream_write(dba->fp, value_datum.dptr, value_datum.dsize) < value_datum.dsize) { in flatfile_store() 90 value_datum.dsize = php_stream_read(dba->fp, value_datum.dptr, value_datum.dsize); in flatfile_fetch() 93 value_datum.dsize = 0; in flatfile_fetch() 103 size_t size = key_datum.dsize; in flatfile_delete() 215 res.dsize = num; in flatfile_firstkey() 230 res.dsize = 0; in flatfile_firstkey() 267 res.dsize = num; in flatfile_nextkey() [all …]
|
H A D | flatfile.h | 22 size_t dsize; member
|
/php-src/ext/dba/ |
H A D | dba_ndbm.c | 72 gkey.dsize = ZSTR_LEN(key); in DBA_FETCH_FUNC() 75 return zend_string_init(gval.dptr, gval.dsize, /* persistent */ false); in DBA_FETCH_FUNC() 86 gkey.dsize = ZSTR_LEN(key); in DBA_UPDATE_FUNC() 88 gval.dsize = ZSTR_LEN(val); in DBA_UPDATE_FUNC() 101 gkey.dsize = ZSTR_LEN(key); in DBA_EXISTS_FUNC() 114 gkey.dsize = ZSTR_LEN(key); in DBA_DELETE_FUNC() 124 return zend_string_init(gkey.dptr, gkey.dsize, /* persistent */ false); in DBA_FIRSTKEY_FUNC() 135 return zend_string_init(gkey.dptr, gkey.dsize, /* persistent */ false); in DBA_NEXTKEY_FUNC()
|
H A D | dba_flatfile.c | 63 gkey.dsize = ZSTR_LEN(key); in DBA_FETCH_FUNC() 67 fetched_val = zend_string_init(gval.dptr, gval.dsize, /* persistent */ false); in DBA_FETCH_FUNC() 80 gkey.dsize = ZSTR_LEN(key); in DBA_UPDATE_FUNC() 82 gval.dsize = ZSTR_LEN(val); in DBA_UPDATE_FUNC() 107 gkey.dsize = ZSTR_LEN(key); in DBA_EXISTS_FUNC() 122 gkey.dsize = ZSTR_LEN(key); in DBA_DELETE_FUNC() 135 return zend_string_init(dba->nextkey.dptr, dba->nextkey.dsize, /* persistent */ false); in DBA_FIRSTKEY_FUNC() 153 return zend_string_init(dba->nextkey.dptr, dba->nextkey.dsize, /* persistent */ false); in DBA_NEXTKEY_FUNC()
|
H A D | dba_dbm.c | 91 gkey.dsize = ZSTR_LEN(key); in DBA_FETCH_FUNC() 94 return zend_string_init(gval.dptr, gval.dsize, /* persistent */ false); in DBA_FETCH_FUNC() 105 gkey.dsize = ZSTR_LEN(key); in DBA_UPDATE_FUNC() 115 gval.dsize = ZSTR_LEN(val); in DBA_UPDATE_FUNC() 126 gkey.dsize = ZSTR_LEN(key); in DBA_EXISTS_FUNC() 140 gkey.dsize = ZSTR_LEN(key); in DBA_DELETE_FUNC() 152 key = zend_string_init(gkey.dptr, gkey.dsize, /* persistent */ false); in DBA_FIRSTKEY_FUNC() 170 key = zend_string_init(gkey.dptr, gkey.dsize, /* persistent */ false); in DBA_NEXTKEY_FUNC()
|
H A D | dba_gdbm.c | 78 gkey.dsize = ZSTR_LEN(key); in DBA_FETCH_FUNC() 82 fetched_val = zend_string_init(gval.dptr, gval.dsize, /* persistent */ false); in DBA_FETCH_FUNC() 95 gkey.dsize = ZSTR_LEN(key); in DBA_UPDATE_FUNC() 97 gval.dsize = ZSTR_LEN(val); in DBA_UPDATE_FUNC() 121 gkey.dsize = ZSTR_LEN(key); in DBA_EXISTS_FUNC() 132 gkey.dsize = ZSTR_LEN(key); in DBA_DELETE_FUNC() 149 key = zend_string_init(gkey.dptr, gkey.dsize, /* persistent */ false); in DBA_FIRSTKEY_FUNC() 168 key = zend_string_init(gkey.dptr, gkey.dsize, /* persistent */ false); in DBA_NEXTKEY_FUNC()
|
/php-src/main/ |
H A D | php_scandir.c | 69 size_t dsize = 0; in php_scandir() local 91 dsize = sizeof (struct dirent) + ((strlen(dp->d_name) + 1) * sizeof(char)); in php_scandir() 92 newdp = (struct dirent *) malloc(dsize); in php_scandir() 98 vector[nfiles++] = (struct dirent *) memcpy(newdp, dp, dsize); in php_scandir()
|
Completed in 10 milliseconds