Searched refs:dptr (Results 1 – 7 of 7) sorted by relevance
/PHP-7.4/ext/dba/ |
H A D | dba_flatfile.c | 54 if (dba->nextkey.dptr) { in DBA_CLOSE_FUNC() 55 efree(dba->nextkey.dptr); in DBA_CLOSE_FUNC() 69 if (gval.dptr) { in DBA_FETCH_FUNC() 74 efree(gval.dptr); in DBA_FETCH_FUNC() 85 gval.dptr = (char *) val; in DBA_UPDATE_FUNC() 109 if (gval.dptr) { in DBA_EXISTS_FUNC() 110 efree(gval.dptr); in DBA_EXISTS_FUNC() 127 if (dba->nextkey.dptr) { in DBA_FIRSTKEY_FUNC() 131 if (dba->nextkey.dptr) { in DBA_FIRSTKEY_FUNC() 148 if (dba->nextkey.dptr) { in DBA_NEXTKEY_FUNC() [all …]
|
H A D | dba_gdbm.c | 74 if(dba->nextkey.dptr) free(dba->nextkey.dptr); in DBA_CLOSE_FUNC() 87 if(gval.dptr) { in DBA_FETCH_FUNC() 90 free(gval.dptr); in DBA_FETCH_FUNC() 101 gval.dptr = (char *) val; in DBA_UPDATE_FUNC() 140 if(dba->nextkey.dptr) { in DBA_FIRSTKEY_FUNC() 141 free(dba->nextkey.dptr); in DBA_FIRSTKEY_FUNC() 145 if(gkey.dptr) { in DBA_FIRSTKEY_FUNC() 150 dba->nextkey.dptr = NULL; in DBA_FIRSTKEY_FUNC() 164 free(dba->nextkey.dptr); in DBA_NEXTKEY_FUNC() 165 if(gkey.dptr) { in DBA_NEXTKEY_FUNC() [all …]
|
H A D | dba_dbm.c | 101 if(gval.dptr) { in DBA_FETCH_FUNC() 103 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC() 116 if(gval.dptr) { in DBA_UPDATE_FUNC() 121 gval.dptr = (char *) val; in DBA_UPDATE_FUNC() 133 if(gval.dptr) { in DBA_EXISTS_FUNC() 152 if(gkey.dptr) { in DBA_FIRSTKEY_FUNC() 154 key = estrndup(gkey.dptr, gkey.dsize); in DBA_FIRSTKEY_FUNC() 157 dba->nextkey.dptr = NULL; in DBA_FIRSTKEY_FUNC() 167 if(!dba->nextkey.dptr) return NULL; in DBA_NEXTKEY_FUNC() 170 if(gkey.dptr) { in DBA_NEXTKEY_FUNC() [all …]
|
H A D | dba_ndbm.c | 33 #define NDBM_GKEY datum gkey; gkey.dptr = (char *) key; gkey.dsize = keylen 81 if(gval.dptr) { in DBA_FETCH_FUNC() 83 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC() 93 gval.dptr = (char *) val; in DBA_UPDATE_FUNC() 106 if(gval.dptr) { in DBA_EXISTS_FUNC() 124 if(gkey.dptr) { in DBA_FIRSTKEY_FUNC() 126 key = estrndup(gkey.dptr, gkey.dsize); in DBA_FIRSTKEY_FUNC() 137 if(gkey.dptr) { in DBA_NEXTKEY_FUNC() 139 nkey = estrndup(gkey.dptr, gkey.dsize); in DBA_NEXTKEY_FUNC()
|
/PHP-7.4/ext/dba/libflatfile/ |
H A D | flatfile.c | 58 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store() 70 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store() 93 value_datum.dptr = safe_emalloc(value_datum.dsize, 1, 1); in flatfile_fetch() 94 value_datum.dsize = php_stream_read(dba->fp, value_datum.dptr, value_datum.dsize); in flatfile_fetch() 96 value_datum.dptr = NULL; in flatfile_fetch() 107 char *key = key_datum.dptr; in flatfile_delete() 163 void *key = key_datum.dptr; in flatfile_findkey() 221 res.dptr = buf; in flatfile_firstkey() 236 res.dptr = NULL; in flatfile_firstkey() 274 res.dptr = buf; in flatfile_nextkey() [all …]
|
H A D | flatfile.h | 23 char *dptr; member
|
/PHP-7.4/ext/standard/ |
H A D | crypt_blowfish.c | 397 if (dptr >= end) break; in BF_decode() 401 if (dptr >= end) break; in BF_decode() 405 } while (dptr < end); in BF_decode() 407 if (end - dptr == size) { in BF_decode() 412 *dptr++ = 0; in BF_decode() 426 *dptr++ = BF_itoa64[c1 >> 2]; in BF_encode() 429 *dptr++ = BF_itoa64[c1]; in BF_encode() 435 *dptr++ = BF_itoa64[c1]; in BF_encode() 438 *dptr++ = BF_itoa64[c1]; in BF_encode() 444 *dptr++ = BF_itoa64[c1]; in BF_encode() [all …]
|
Completed in 16 milliseconds