Home
last modified time | relevance | path

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

/PHP-5.3/ext/dba/
H A Ddba_flatfile.c56 if (dba->nextkey.dptr) { in DBA_CLOSE_FUNC()
57 efree(dba->nextkey.dptr); in DBA_CLOSE_FUNC()
71 if (gval.dptr) { in DBA_FETCH_FUNC()
76 efree(gval.dptr); in DBA_FETCH_FUNC()
87 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
110 if (gval.dptr) { in DBA_EXISTS_FUNC()
111 efree(gval.dptr); in DBA_EXISTS_FUNC()
128 if (dba->nextkey.dptr) { in DBA_FIRSTKEY_FUNC()
132 if (dba->nextkey.dptr) { in DBA_FIRSTKEY_FUNC()
149 if (dba->nextkey.dptr) { in DBA_NEXTKEY_FUNC()
[all …]
H A Ddba_gdbm.c77 if(dba->nextkey.dptr) free(dba->nextkey.dptr); in DBA_CLOSE_FUNC()
90 if(gval.dptr) { in DBA_FETCH_FUNC()
93 free(gval.dptr); in DBA_FETCH_FUNC()
104 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
136 if(dba->nextkey.dptr) { in DBA_FIRSTKEY_FUNC()
137 free(dba->nextkey.dptr); in DBA_FIRSTKEY_FUNC()
141 if(gkey.dptr) { in DBA_FIRSTKEY_FUNC()
146 dba->nextkey.dptr = NULL; in DBA_FIRSTKEY_FUNC()
160 free(dba->nextkey.dptr); in DBA_NEXTKEY_FUNC()
161 if(gkey.dptr) { in DBA_NEXTKEY_FUNC()
[all …]
H A Ddba_dbm.c104 if(gval.dptr) { in DBA_FETCH_FUNC()
106 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC()
119 if(gval.dptr) { in DBA_UPDATE_FUNC()
124 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
136 if(gval.dptr) { in DBA_EXISTS_FUNC()
155 if(gkey.dptr) { in DBA_FIRSTKEY_FUNC()
157 key = estrndup(gkey.dptr, gkey.dsize); in DBA_FIRSTKEY_FUNC()
160 dba->nextkey.dptr = NULL; in DBA_FIRSTKEY_FUNC()
170 if(!dba->nextkey.dptr) return NULL; in DBA_NEXTKEY_FUNC()
173 if(gkey.dptr) { in DBA_NEXTKEY_FUNC()
[all …]
H A Ddba_ndbm.c35 #define NDBM_GKEY datum gkey; gkey.dptr = (char *) key; gkey.dsize = keylen
84 if(gval.dptr) { in DBA_FETCH_FUNC()
86 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC()
96 gval.dptr = (char *) val; in DBA_UPDATE_FUNC()
109 if(gval.dptr) { in DBA_EXISTS_FUNC()
127 if(gkey.dptr) { in DBA_FIRSTKEY_FUNC()
129 key = estrndup(gkey.dptr, gkey.dsize); in DBA_FIRSTKEY_FUNC()
140 if(gkey.dptr) { in DBA_NEXTKEY_FUNC()
142 nkey = estrndup(gkey.dptr, gkey.dsize); in DBA_NEXTKEY_FUNC()
/PHP-5.3/ext/dba/libflatfile/
H A Dflatfile.c59 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, key_datum.dptr, key_datum.dsize) < key_datum.dsize) { in flatfile_store()
94 value_datum.dptr = safe_emalloc(value_datum.dsize, 1, 1); in flatfile_fetch()
95 value_datum.dsize = php_stream_read(dba->fp, value_datum.dptr, value_datum.dsize); in flatfile_fetch()
97 value_datum.dptr = NULL; in flatfile_fetch()
108 char *key = key_datum.dptr; in flatfile_delete()
170 void *key = key_datum.dptr; in flatfile_findkey()
235 res.dptr = buf; in flatfile_firstkey()
253 res.dptr = NULL; in flatfile_firstkey()
295 res.dptr = buf; in flatfile_nextkey()
[all …]
H A Dflatfile.h25 char *dptr; member
/PHP-5.3/ext/standard/
H A Dcrypt_blowfish.c390 unsigned char *end = dptr + size; in BF_decode()
398 if (dptr >= end) break; in BF_decode()
402 if (dptr >= end) break; in BF_decode()
406 } while (dptr < end); in BF_decode()
409 *dptr++ = 0; in BF_decode()
423 *dptr++ = BF_itoa64[c1 >> 2]; in BF_encode()
426 *dptr++ = BF_itoa64[c1]; in BF_encode()
432 *dptr++ = BF_itoa64[c1]; in BF_encode()
435 *dptr++ = BF_itoa64[c1]; in BF_encode()
441 *dptr++ = BF_itoa64[c1]; in BF_encode()
[all …]

Completed in 35 milliseconds