/PHP-8.1/ext/dba/ |
H A D | dba_db1.c | 94 DBT gval; in DBA_FETCH_FUNC() local 98 memset(&gval, 0, sizeof(gval)); in DBA_FETCH_FUNC() 101 return estrndup(gval.data, gval.size); in DBA_FETCH_FUNC() 108 DBT gval; in DBA_UPDATE_FUNC() local 112 gval.data = (char *) val; in DBA_UPDATE_FUNC() 113 gval.size = vallen; in DBA_UPDATE_FUNC() 120 DBT gval; in DBA_EXISTS_FUNC() local 138 DBT gval; in DBA_FIRSTKEY_FUNC() local 142 memset(&gval, 0, sizeof(gval)); in DBA_FIRSTKEY_FUNC() 154 DBT gval; in DBA_NEXTKEY_FUNC() local [all …]
|
H A D | dba_db4.c | 157 DBT gval; local 162 memset(&gval, 0, sizeof(gval)); 168 new = estrndup(gval.data, gval.size); 170 free(gval.data); 178 DBT gval; local 182 memset(&gval, 0, sizeof(gval)); 195 DBT gval; local 199 memset(&gval, 0, sizeof(gval)); 207 free(gval.data); 242 DBT gkey, gval; local [all …]
|
H A D | dba_flatfile.c | 60 datum gval; in DBA_FETCH_FUNC() local 67 if (gval.dptr) { in DBA_FETCH_FUNC() 69 *newlen = gval.dsize; in DBA_FETCH_FUNC() 71 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC() 72 efree(gval.dptr); in DBA_FETCH_FUNC() 79 datum gval; in DBA_UPDATE_FUNC() local 83 gval.dptr = (char *) val; in DBA_UPDATE_FUNC() 84 gval.dsize = vallen; in DBA_UPDATE_FUNC() 102 datum gval; in DBA_EXISTS_FUNC() local 107 if (gval.dptr) { in DBA_EXISTS_FUNC() [all …]
|
H A D | dba_db3.c | 128 DBT gval; local 133 memset(&gval, 0, sizeof(gval)); 136 new = estrndup(gval.data, gval.size); 143 DBT gval; local 147 memset(&gval, 0, sizeof(gval)); 148 gval.data = (char *) val; 149 gval.size = vallen; 160 DBT gval; local 164 memset(&gval, 0, sizeof(gval)); 199 DBT gkey, gval; local [all …]
|
H A D | dba_ndbm.c | 74 datum gval; in DBA_FETCH_FUNC() local 78 gval = dbm_fetch(info->dbf, gkey); in DBA_FETCH_FUNC() 79 if(gval.dptr) { in DBA_FETCH_FUNC() 80 if(newlen) *newlen = gval.dsize; in DBA_FETCH_FUNC() 81 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC() 88 datum gval; in DBA_UPDATE_FUNC() local 91 gval.dptr = (char *) val; in DBA_UPDATE_FUNC() 92 gval.dsize = vallen; in DBA_UPDATE_FUNC() 101 datum gval; in DBA_EXISTS_FUNC() local 103 gval = dbm_fetch(info->dbf, gkey); in DBA_EXISTS_FUNC() [all …]
|
H A D | dba_dbm.c | 94 datum gval; in DBA_FETCH_FUNC() local 98 gval = fetch(gkey); in DBA_FETCH_FUNC() 99 if(gval.dptr) { in DBA_FETCH_FUNC() 101 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC() 108 datum gval; in DBA_UPDATE_FUNC() local 113 gval = fetch(gkey); in DBA_UPDATE_FUNC() 114 if(gval.dptr) { in DBA_UPDATE_FUNC() 120 gval.dsize = vallen; in DBA_UPDATE_FUNC() 127 datum gval; in DBA_EXISTS_FUNC() local 130 gval = fetch(gkey); in DBA_EXISTS_FUNC() [all …]
|
H A D | dba_db2.c | 96 DBT gval = {0}; in DBA_FETCH_FUNC() local 100 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_FETCH_FUNC() 104 if (newlen) *newlen = gval.size; in DBA_FETCH_FUNC() 105 return estrndup(gval.data, gval.size); in DBA_FETCH_FUNC() 110 DBT gval = {0}; in DBA_UPDATE_FUNC() local 114 gval.data = (char *) val; in DBA_UPDATE_FUNC() 115 gval.size = vallen; in DBA_UPDATE_FUNC() 117 if (dba->dbp->put(dba->dbp, NULL, &gkey, &gval, in DBA_UPDATE_FUNC() 126 DBT gval = {0}; in DBA_EXISTS_FUNC() local 130 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_EXISTS_FUNC() [all …]
|
H A D | dba_gdbm.c | 80 datum gval; in DBA_FETCH_FUNC() local 84 gval = gdbm_fetch(dba->dbf, gkey); in DBA_FETCH_FUNC() 85 if(gval.dptr) { in DBA_FETCH_FUNC() 86 if(newlen) *newlen = gval.dsize; in DBA_FETCH_FUNC() 87 new = estrndup(gval.dptr, gval.dsize); in DBA_FETCH_FUNC() 88 free(gval.dptr); in DBA_FETCH_FUNC() 95 datum gval; in DBA_UPDATE_FUNC() local 99 gval.dptr = (char *) val; in DBA_UPDATE_FUNC() 100 gval.dsize = vallen; in DBA_UPDATE_FUNC() 102 switch (gdbm_store(dba->dbf, gkey, gval, mode == 1 ? GDBM_INSERT : GDBM_REPLACE)) { in DBA_UPDATE_FUNC()
|
/PHP-8.1/ext/opcache/jit/dynasm/ |
H A D | minilua.c | 1475 if(!ttisnil(gval(n))){ 1507 setnilvalue(gval(n)); 1531 if(!ttisnil(gval(old))) 1596 setnilvalue(gval(mp)); 1606 return gval(mp); 1616 return gval(n); 1626 return gval(n); 1646 return gval(n); 1840 if(ttisnil(gval(n))) 1979 if(!ttisnil(gval(n))&& [all …]
|