Home
last modified time | relevance | path

Searched refs:dptr (Results 1 – 7 of 7) sorted by relevance

/PHP-8.1/ext/dba/
H A Ddba_flatfile.c52 if (dba->nextkey.dptr) { in DBA_CLOSE_FUNC()
53 efree(dba->nextkey.dptr); in DBA_CLOSE_FUNC()
67 if (gval.dptr) { in DBA_FETCH_FUNC()
72 efree(gval.dptr); in DBA_FETCH_FUNC()
83 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
107 if (gval.dptr) { in DBA_EXISTS_FUNC()
108 efree(gval.dptr); in DBA_EXISTS_FUNC()
125 if (dba->nextkey.dptr) { in DBA_FIRSTKEY_FUNC()
129 if (dba->nextkey.dptr) { in DBA_FIRSTKEY_FUNC()
146 if (dba->nextkey.dptr) { in DBA_NEXTKEY_FUNC()
[all …]
H A Ddba_gdbm.c72 if(dba->nextkey.dptr) free(dba->nextkey.dptr); in DBA_CLOSE_FUNC()
85 if(gval.dptr) { in DBA_FETCH_FUNC()
88 free(gval.dptr); in DBA_FETCH_FUNC()
99 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
138 if(dba->nextkey.dptr) { in DBA_FIRSTKEY_FUNC()
139 free(dba->nextkey.dptr); in DBA_FIRSTKEY_FUNC()
143 if(gkey.dptr) { in DBA_FIRSTKEY_FUNC()
148 dba->nextkey.dptr = NULL; in DBA_FIRSTKEY_FUNC()
162 free(dba->nextkey.dptr); in DBA_NEXTKEY_FUNC()
163 if(gkey.dptr) { in DBA_NEXTKEY_FUNC()
[all …]
H A Ddba_dbm.c99 if(gval.dptr) { in DBA_FETCH_FUNC()
101 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC()
114 if(gval.dptr) { in DBA_UPDATE_FUNC()
119 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
131 if(gval.dptr) { in DBA_EXISTS_FUNC()
150 if(gkey.dptr) { in DBA_FIRSTKEY_FUNC()
152 key = estrndup(gkey.dptr, gkey.dsize); in DBA_FIRSTKEY_FUNC()
155 dba->nextkey.dptr = NULL; in DBA_FIRSTKEY_FUNC()
165 if(!dba->nextkey.dptr) return NULL; in DBA_NEXTKEY_FUNC()
168 if(gkey.dptr) { in DBA_NEXTKEY_FUNC()
[all …]
H A Ddba_ndbm.c31 #define NDBM_GKEY datum gkey; gkey.dptr = (char *) key; gkey.dsize = keylen
79 if(gval.dptr) { in DBA_FETCH_FUNC()
81 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC()
91 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
104 if(gval.dptr) { in DBA_EXISTS_FUNC()
122 if(gkey.dptr) { in DBA_FIRSTKEY_FUNC()
124 key = estrndup(gkey.dptr, gkey.dsize); in DBA_FIRSTKEY_FUNC()
135 if(gkey.dptr) { in DBA_NEXTKEY_FUNC()
137 nkey = estrndup(gkey.dptr, gkey.dsize); in DBA_NEXTKEY_FUNC()
/PHP-8.1/ext/dba/libflatfile/
H A Dflatfile.c55 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store()
67 if (php_stream_write(dba->fp, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store()
89 value_datum.dptr = safe_emalloc(value_datum.dsize, 1, 1); in flatfile_fetch()
90 value_datum.dsize = php_stream_read(dba->fp, value_datum.dptr, value_datum.dsize); in flatfile_fetch()
92 value_datum.dptr = NULL; in flatfile_fetch()
102 char *key = key_datum.dptr; in flatfile_delete()
157 void *key = key_datum.dptr; in flatfile_findkey()
214 res.dptr = buf; in flatfile_firstkey()
229 res.dptr = NULL; in flatfile_firstkey()
266 res.dptr = buf; in flatfile_nextkey()
[all …]
H A Dflatfile.h21 char *dptr; member
/PHP-8.1/ext/standard/
H A Dcrypt_blowfish.c383 unsigned char *end = dptr + size; in BF_decode()
391 if (dptr >= end) break; in BF_decode()
395 if (dptr >= end) break; in BF_decode()
398 *dptr++ = ((c3 & 0x03) << 6) | c4; in BF_decode()
399 } while (dptr < end); in BF_decode()
413 *dptr++ = BF_itoa64[c1 >> 2]; in BF_encode()
416 *dptr++ = BF_itoa64[c1]; in BF_encode()
422 *dptr++ = BF_itoa64[c1]; in BF_encode()
425 *dptr++ = BF_itoa64[c1]; in BF_encode()
431 *dptr++ = BF_itoa64[c1]; in BF_encode()
[all …]

Completed in 13 milliseconds