Searched refs:dsize (Results 1 – 7 of 7) sorted by relevance
/PHP-5.3/ext/dba/libflatfile/ |
H A D | flatfile.c | 59 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store() 64 if (php_stream_write(dba->fp, value_datum.dptr, value_datum.dsize) < value_datum.dsize) { in flatfile_store() 71 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store() 75 if (php_stream_write(dba->fp, value_datum.dptr, value_datum.dsize) < value_datum.dsize) { in flatfile_store() 95 value_datum.dsize = php_stream_read(dba->fp, value_datum.dptr, value_datum.dsize); in flatfile_fetch() 98 value_datum.dsize = 0; in flatfile_fetch() 109 size_t size = key_datum.dsize; in flatfile_delete() 236 res.dsize = num; in flatfile_firstkey() 254 res.dsize = 0; in flatfile_firstkey() 296 res.dsize = num; in flatfile_nextkey() [all …]
|
H A D | flatfile.h | 26 size_t dsize; member
|
/PHP-5.3/ext/dba/ |
H A D | dba_ndbm.c | 35 #define NDBM_GKEY datum gkey; gkey.dptr = (char *) key; gkey.dsize = keylen 85 if(newlen) *newlen = gval.dsize; in DBA_FETCH_FUNC() 86 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC() 97 gval.dsize = vallen; in DBA_UPDATE_FUNC() 128 if(newlen) *newlen = gkey.dsize; in DBA_FIRSTKEY_FUNC() 129 key = estrndup(gkey.dptr, gkey.dsize); in DBA_FIRSTKEY_FUNC() 141 if(newlen) *newlen = gkey.dsize; in DBA_NEXTKEY_FUNC() 142 nkey = estrndup(gkey.dptr, gkey.dsize); in DBA_NEXTKEY_FUNC()
|
H A D | dba_flatfile.c | 40 #define FLATFILE_GKEY datum gkey; gkey.dptr = (char *) key; gkey.dsize = keylen 73 *newlen = gval.dsize; in DBA_FETCH_FUNC() 75 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC() 88 gval.dsize = vallen; in DBA_UPDATE_FUNC() 134 *newlen = dba->nextkey.dsize; in DBA_FIRSTKEY_FUNC() 136 return estrndup(dba->nextkey.dptr, dba->nextkey.dsize); in DBA_FIRSTKEY_FUNC() 155 *newlen = dba->nextkey.dsize; in DBA_NEXTKEY_FUNC() 157 return estrndup(dba->nextkey.dptr, dba->nextkey.dsize); in DBA_NEXTKEY_FUNC()
|
H A D | dba_dbm.c | 43 #define DBM_GKEY datum gkey; gkey.dptr = (char *) key; gkey.dsize = keylen 105 if(newlen) *newlen = gval.dsize; in DBA_FETCH_FUNC() 106 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC() 125 gval.dsize = vallen; in DBA_UPDATE_FUNC() 156 if(newlen) *newlen = gkey.dsize; in DBA_FIRSTKEY_FUNC() 157 key = estrndup(gkey.dptr, gkey.dsize); in DBA_FIRSTKEY_FUNC() 174 if(newlen) *newlen = gkey.dsize; in DBA_NEXTKEY_FUNC() 175 nkey = estrndup(gkey.dptr, gkey.dsize); in DBA_NEXTKEY_FUNC()
|
H A D | dba_gdbm.c | 35 #define GDBM_GKEY datum gkey; gkey.dptr = (char *) key; gkey.dsize = keylen 91 if(newlen) *newlen = gval.dsize; in DBA_FETCH_FUNC() 92 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC() 105 gval.dsize = vallen; in DBA_UPDATE_FUNC() 142 key = estrndup(gkey.dptr, gkey.dsize); in DBA_FIRSTKEY_FUNC() 143 if(newlen) *newlen = gkey.dsize; in DBA_FIRSTKEY_FUNC() 162 nkey = estrndup(gkey.dptr, gkey.dsize); in DBA_NEXTKEY_FUNC() 163 if(newlen) *newlen = gkey.dsize; in DBA_NEXTKEY_FUNC()
|
/PHP-5.3/main/ |
H A D | php_scandir.c | 78 int dsize = 0; in php_scandir() local 100 dsize = sizeof (struct dirent) + ((strlen(dp->d_name) + 1) * sizeof(char)); in php_scandir() 101 newdp = (struct dirent *) malloc(dsize); in php_scandir() 107 vector[nfiles++] = (struct dirent *) memcpy(newdp, dp, dsize); in php_scandir()
|
Completed in 16 milliseconds