/php-src/ext/dba/ |
H A D | dba_db1.c | 88 DBT gval; in DBA_FETCH_FUNC() local 94 memset(&gval, 0, sizeof(gval)); in DBA_FETCH_FUNC() 96 return zend_string_init(gval.data, gval.size, /* persistent */ false); in DBA_FETCH_FUNC() 104 DBT gval; in DBA_UPDATE_FUNC() local 110 gval.data = ZSTR_VAL(val); in DBA_UPDATE_FUNC() 111 gval.size = ZSTR_LEN(val); in DBA_UPDATE_FUNC() 119 DBT gval; in DBA_EXISTS_FUNC() local 143 DBT gval; in DBA_FIRSTKEY_FUNC() local 146 memset(&gval, 0, sizeof(gval)); in DBA_FIRSTKEY_FUNC() 158 DBT gval; in DBA_NEXTKEY_FUNC() local [all …]
|
H A D | dba_db4.c | 148 DBT gval; local 156 memset(&gval, 0, sizeof(gval)); 163 free(gval.data); 172 DBT gval; local 179 memset(&gval, 0, sizeof(gval)); 193 DBT gval; local 200 memset(&gval, 0, sizeof(gval)); 208 free(gval.data); 246 DBT gkey, gval; local 250 memset(&gval, 0, sizeof(gval)); [all …]
|
H A D | dba_ndbm.c | 68 datum gval; in DBA_FETCH_FUNC() local 73 gval = dbm_fetch(info->dbf, gkey); in DBA_FETCH_FUNC() 74 if (gval.dptr) { in DBA_FETCH_FUNC() 75 return zend_string_init(gval.dptr, gval.dsize, /* persistent */ false); in DBA_FETCH_FUNC() 82 datum gval; in DBA_UPDATE_FUNC() local 87 gval.dptr = ZSTR_VAL(val); in DBA_UPDATE_FUNC() 88 gval.dsize = ZSTR_LEN(val); in DBA_UPDATE_FUNC() 90 if(!dbm_store(info->dbf, gkey, gval, mode == 1 ? DBM_INSERT : DBM_REPLACE)) in DBA_UPDATE_FUNC() 97 datum gval; in DBA_EXISTS_FUNC() local 102 gval = dbm_fetch(info->dbf, gkey); in DBA_EXISTS_FUNC() [all …]
|
H A D | dba_flatfile.c | 58 datum gval; in DBA_FETCH_FUNC() local 65 gval = flatfile_fetch(dba, gkey); in DBA_FETCH_FUNC() 66 if (gval.dptr) { in DBA_FETCH_FUNC() 67 fetched_val = zend_string_init(gval.dptr, gval.dsize, /* persistent */ false); in DBA_FETCH_FUNC() 68 efree(gval.dptr); in DBA_FETCH_FUNC() 76 datum gval; in DBA_UPDATE_FUNC() local 81 gval.dptr = ZSTR_VAL(val); in DBA_UPDATE_FUNC() 82 gval.dsize = ZSTR_LEN(val); in DBA_UPDATE_FUNC() 103 datum gval; in DBA_EXISTS_FUNC() local 109 if (gval.dptr) { in DBA_EXISTS_FUNC() [all …]
|
H A D | dba_db3.c | 119 DBT gval; local 126 memset(&gval, 0, sizeof(gval)); 128 return zend_string_init(gval.data, gval.size, /* persistent */ false); 136 DBT gval; local 143 memset(&gval, 0, sizeof(gval)); 144 gval.data = ZSTR_VAL(val); 145 gval.size = ZSTR_LEN(val); 157 DBT gval; local 164 memset(&gval, 0, sizeof(gval)); 202 DBT gkey, gval; local [all …]
|
H A D | dba_dbm.c | 87 datum gval; in DBA_FETCH_FUNC() local 92 gval = fetch(gkey); in DBA_FETCH_FUNC() 93 if (gval.dptr) { in DBA_FETCH_FUNC() 94 return zend_string_init(gval.dptr, gval.dsize, /* persistent */ false); in DBA_FETCH_FUNC() 101 datum gval; in DBA_UPDATE_FUNC() local 108 gval = fetch(gkey); in DBA_UPDATE_FUNC() 109 if (gval.dptr) { in DBA_UPDATE_FUNC() 114 gval.dptr = ZSTR_VAL(val); in DBA_UPDATE_FUNC() 122 datum gval; in DBA_EXISTS_FUNC() local 128 gval = fetch(gkey); in DBA_EXISTS_FUNC() [all …]
|
H A D | dba_db2.c | 87 DBT gval = {0}; in DBA_FETCH_FUNC() local 93 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_FETCH_FUNC() 97 return zend_string_init(gval.data, gval.size, /* persistent */ false); in DBA_FETCH_FUNC() 103 DBT gval = {0}; in DBA_UPDATE_FUNC() local 109 gval.data = ZSTR_VAL(val); in DBA_UPDATE_FUNC() 110 gval.size = ZSTR_LEN(val); in DBA_UPDATE_FUNC() 112 if (dba->dbp->put(dba->dbp, NULL, &gkey, &gval, in DBA_UPDATE_FUNC() 122 DBT gval = {0}; in DBA_EXISTS_FUNC() local 128 if (dba->dbp->get(dba->dbp, NULL, &gkey, &gval, 0)) { in DBA_EXISTS_FUNC() 168 DBT gkey = {0}, gval = {0}; local [all …]
|
H A D | dba_gdbm.c | 73 datum gval; in DBA_FETCH_FUNC() local 80 gval = gdbm_fetch(dba->dbf, gkey); in DBA_FETCH_FUNC() 81 if (gval.dptr) { in DBA_FETCH_FUNC() 82 fetched_val = zend_string_init(gval.dptr, gval.dsize, /* persistent */ false); in DBA_FETCH_FUNC() 83 free(gval.dptr); in DBA_FETCH_FUNC() 91 datum gval; in DBA_UPDATE_FUNC() local 96 gval.dptr = ZSTR_VAL(val); in DBA_UPDATE_FUNC() 97 gval.dsize = ZSTR_LEN(val); in DBA_UPDATE_FUNC() 99 switch (gdbm_store(dba->dbf, gkey, gval, mode == 1 ? GDBM_INSERT : GDBM_REPLACE)) { in DBA_UPDATE_FUNC()
|
/php-src/ext/opcache/jit/ir/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); 1647 return gval(n); 1841 if(ttisnil(gval(n))) 1980 if(!ttisnil(gval(n))&& [all …]
|