/external/u-boot/drivers/i2c/ |
i2c-uniphier.c | 23 u32 drec; /* data reception */ member in struct:uniphier_i2c_regs 82 return readl(&priv->regs->drec); 88 u32 drec; local 90 drec = send_and_recv_byte(priv, dtrm); 92 if (drec & I2C_DREC_LAB) { 97 if (drec & I2C_DREC_LRB) {
|
/external/python/cpython2/Modules/ |
bsddbmodule.c | 248 DBT krec, drec; local 253 &krec, &drec,R_FIRST); 256 &krec, &drec, R_NEXT)) 272 DBT krec, drec; local 300 status = (dp->di_bsddb->get)(dp->di_bsddb, &krec, &drec, 0); 302 if (drec.size > sizeof(buf)) data = malloc(drec.size); 304 if (data!=NULL) memcpy(data,drec.data,drec.size); 316 result = PyString_FromStringAndSize(data, (int)drec.size) 325 DBT krec, drec; local 406 DBT krec, drec; local 467 DBT krec, drec; local 506 DBT krec, drec; local 562 DBT krec, drec; local [all...] |
gdbmmodule.c | 118 datum drec, krec; local 128 drec = gdbm_fetch(dp->di_dbm, krec); 129 if (drec.dptr == 0) { 134 v = PyString_FromStringAndSize(drec.dptr, drec.dsize); 135 free(drec.dptr); 142 datum krec, drec; local 163 if (!PyArg_Parse(w, "s#", &drec.dptr, &drec.dsize)) { 169 if (gdbm_store(dp->di_dbm, krec, drec, GDBM_REPLACE) < 0) [all...] |
dbmmodule.c | 99 datum drec, krec; local 107 drec = dbm_fetch(dp->di_dbm, krec); 108 if ( drec.dptr == 0 ) { 118 return PyString_FromStringAndSize(drec.dptr, drec.dsize); 124 datum krec, drec; local 146 if ( !PyArg_Parse(w, "s#", &drec.dptr, &tmp_size) ) { 151 drec.dsize = tmp_size; 152 if ( dbm_store(dp->di_dbm, krec, drec, DBM_REPLACE) < 0 ) {
|
/external/python/cpython3/Modules/ |
_dbmmodule.c | 105 datum drec, krec; local 113 drec = dbm_fetch(dp->di_dbm, krec); 114 if ( drec.dptr == 0 ) { 123 return PyBytes_FromStringAndSize(drec.dptr, drec.dsize); 129 datum krec, drec; local 150 if ( !PyArg_Parse(w, "s#", &drec.dptr, &tmp_size) ) { 155 drec.dsize = tmp_size; 156 if ( dbm_store(dp->di_dbm, krec, drec, DBM_REPLACE) < 0 ) {
|
_gdbmmodule.c | 126 datum drec, krec; local 136 drec = gdbm_fetch(dp->di_dbm, krec); 137 if (drec.dptr == 0) { 141 v = PyBytes_FromStringAndSize(drec.dptr, drec.dsize); 142 free(drec.dptr); 174 datum krec, drec; local 194 if (!PyArg_Parse(w, "s#", &drec.dptr, &drec.dsize)) { 200 if (gdbm_store(dp->di_dbm, krec, drec, GDBM_REPLACE) < 0) [all...] |