/device/linaro/bootloader/edk2/StdLib/LibC/gdtoa/ |
D | strtod.c | 96 double aadj, aadj1, adj, rv, rv0; in strtod() local 109 dval(rv) = 0.; in strtod() 164 ULtod((/* LINTED */(U*)&rv)->L, bits, expt, i); in strtod() 276 word0(rv) = 0x7ff00000; in strtod() 277 word1(rv) = 0; in strtod() 288 word0(rv) = (UINT32)(0x7ff00000U | bits[1]); in strtod() 289 word1(rv) = (UINT32)bits[0]; in strtod() 293 word0(rv) = NAN_WORD0; in strtod() 294 word1(rv) = NAN_WORD1; in strtod() 318 dval(rv) = (double)y; in strtod() [all …]
|
D | strtodg.c | 187 int bdif, e, j, k, k1, nb, rv; in rvOK() local 189 carry = rv = 0; in rvOK() 290 rv = 1; in rvOK() 293 return rv; in rvOK() 317 double adj, adj0, rv, tol; in strtodg() local 326 dval(rv) = 0.; in strtodg() 515 dval(rv) = (double)y; in strtodg() 517 dval(rv) = tens[k - 9] * dval(rv) + z; in strtodg() 521 if (rvOK(dval(rv), fpi, expt, bits, 1, rd, &irv)) in strtodg() 526 i = fivesbits[e] + mantbits(dval(rv)) <= P; in strtodg() [all …]
|
/device/google/dragon/recovery/updater/ |
D | debug_ec.c | 138 int rv; in bq25892_read() local 144 rv = flash_cmd(ec, EC_CMD_I2C_READ, 0, &p, sizeof(p), &r, sizeof(r)); in bq25892_read() 145 if (rv < 0) { in bq25892_read() 147 return rv; in bq25892_read() 156 int rv; in bq25892_write() local 162 rv = flash_cmd(ec, EC_CMD_I2C_WRITE, 0, &p, sizeof(p), NULL, 0); in bq25892_write() 163 return rv < 0 ? rv : 0; in bq25892_write() 170 int rv; in cmd_ec_bq25892() local 181 rv = bq25892_read(BQ2589X_REG_CFG1, &value); in cmd_ec_bq25892() 182 } while ((value & BQ2589X_CFG1_CONV_START) || (rv < 0)); in cmd_ec_bq25892() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | imageop.c | 123 PyObject *rv; in imageop_crop() local 142 rv = PyString_FromStringAndSize(NULL, nlen); in imageop_crop() 143 if ( rv == 0 ) in imageop_crop() 145 ncp = (char *)PyString_AsString(rv); in imageop_crop() 167 return rv; in imageop_crop() 179 PyObject *rv; in imageop_scale() local 195 rv = PyString_FromStringAndSize(NULL, nlen); in imageop_scale() 196 if ( rv == 0 ) in imageop_scale() 198 ncp = (char *)PyString_AsString(rv); in imageop_scale() 213 return rv; in imageop_scale() [all …]
|
D | binascii.c | 196 PyObject *rv; in binascii_a2b_uu() local 211 if ( (rv=PyString_FromStringAndSize(NULL, bin_len)) == NULL ) { in binascii_a2b_uu() 215 bin_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_a2b_uu() 235 Py_DECREF(rv); in binascii_a2b_uu() 264 Py_DECREF(rv); in binascii_a2b_uu() 269 return rv; in binascii_a2b_uu() 282 PyObject *rv; in binascii_b2a_uu() local 297 if ( (rv=PyString_FromStringAndSize(NULL, 2 + (bin_len+2)/3*4)) == NULL ) { in binascii_b2a_uu() 301 ascii_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_b2a_uu() 323 if (_PyString_Resize(&rv, in binascii_b2a_uu() [all …]
|
D | xxmodule.c | 87 int rv = PyDict_DelItemString(self->x_attr, name); in Xxo_setattr() local 88 if (rv < 0) in Xxo_setattr() 91 return rv; in Xxo_setattr() 168 XxoObject *rv; in xx_new() local 172 rv = newXxoObject(args); in xx_new() 173 if (rv == NULL) in xx_new() 175 return (PyObject *)rv; in xx_new()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | binascii.c | 196 PyObject *rv; in binascii_a2b_uu() local 211 if ( (rv=PyString_FromStringAndSize(NULL, bin_len)) == NULL ) { in binascii_a2b_uu() 215 bin_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_a2b_uu() 235 Py_DECREF(rv); in binascii_a2b_uu() 264 Py_DECREF(rv); in binascii_a2b_uu() 269 return rv; in binascii_a2b_uu() 282 PyObject *rv; in binascii_b2a_uu() local 297 if ( (rv=PyString_FromStringAndSize(NULL, 2 + (bin_len+2)/3*4)) == NULL ) { in binascii_b2a_uu() 301 ascii_data = (unsigned char *)PyString_AS_STRING(rv); in binascii_b2a_uu() 324 (void)_PyString_Resize(&rv, in binascii_b2a_uu() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | dtoa.c | 357 Bigint *rv; in Balloc() local 360 if (k <= Kmax && (rv = freelist[k])) in Balloc() 361 freelist[k] = rv->next; in Balloc() 367 rv = (Bigint*)pmem_next; in Balloc() 371 rv = (Bigint*)MALLOC(len*sizeof(double)); in Balloc() 372 if (rv == NULL) in Balloc() 375 rv->k = k; in Balloc() 376 rv->maxwds = x; in Balloc() 378 rv->sign = rv->wds = 0; in Balloc() 379 return rv; in Balloc() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | dtoa.c | 340 Bigint *rv; in Balloc() local 343 if (k <= Kmax && (rv = freelist[k])) in Balloc() 344 freelist[k] = rv->next; in Balloc() 350 rv = (Bigint*)pmem_next; in Balloc() 354 rv = (Bigint*)MALLOC(len*sizeof(double)); in Balloc() 355 if (rv == NULL) in Balloc() 358 rv->k = k; in Balloc() 359 rv->maxwds = x; in Balloc() 361 rv->sign = rv->wds = 0; in Balloc() 362 return rv; in Balloc() [all …]
|
D | mactoolboxglue.c | 37 PyObject *rv; in PyMac_StrError() local 44 rv = NULL; in PyMac_StrError() 47 rv = PyObject_CallMethod(m, "GetErrorString", "i", err); in PyMac_StrError() 48 if (!rv) in PyMac_StrError() 51 if (!rv) { in PyMac_StrError() 55 char *input = PyString_AsString(rv); in PyMac_StrError() 63 Py_DECREF(rv); in PyMac_StrError() 114 PyObject *rv = NULL; in PyMac_GetFullPathname() local 124 rv = PyObject_CallMethod(fs, "as_pathname", ""); in PyMac_GetFullPathname() 125 if (!rv) in PyMac_GetFullPathname() [all …]
|
D | thread_wince.h | 27 long rv; in PyThread_start_new_thread() local 34 rv = _beginthread(func, 0, arg); /* use default stack size */ in PyThread_start_new_thread() 36 if (rv != -1) { in PyThread_start_new_thread()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/ |
D | __init__.py | 184 rv = level 188 rv = _levelNames[level] 191 return rv 338 rv = LogRecord(None, None, "", 0, "", (), None, None) 339 rv.__dict__.update(dict) 340 return rv 520 rv = "" 522 rv = rv + self.formatHeader(records) 524 rv = rv + self.linefmt.format(record) 525 rv = rv + self.formatFooter(records) [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_fcntl.py | 71 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETFL, os.O_NONBLOCK) 73 print 'Status from fcntl with O_NONBLOCK: ', rv 75 rv = fcntl.fcntl(self.f.fileno(), fcntl.F_SETLKW, lockdata) 77 print 'String from fcntl with F_SETLKW: ', repr(rv) 83 rv = fcntl.fcntl(self.f, fcntl.F_SETFL, os.O_NONBLOCK) 85 rv = fcntl.fcntl(self.f, fcntl.F_SETLKW, lockdata)
|
/device/linaro/hikey/bluetooth/ |
D | h4_protocol.cc | 30 int rv = WriteSafely(uart_fd_, &type, sizeof(type)); in Send() local 31 if (rv == sizeof(type)) { in Send() 32 rv = WriteSafely(uart_fd_, data, length); in Send() 34 return rv; in Send()
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
D | getservent.c | 74 int rv; local 96 if ((rv = yp_match(yp_domain, "services.byport", buf, strlen(buf), 98 if (rv == YPERR_MAP) { 152 int rv; local 162 if ((rv = yp_first(yp_domain, "services.byname", &key, &keylen, 170 rv = yp_next(yp_domain, "services.byname", key, keylen, &key, 173 if (rv) {
|
/device/google/dragon/crash_collector/ |
D | crash_dispatcher.cc | 90 int rv = TEMP_FAILURE_RETRY(read(STDIN_FILENO, buf, kBufSize)); in main() local 91 if (rv == -1) { in main() 95 if (rv == 0) in main() 97 if (!android::base::WriteFully(pipe_fds[1], buf, rv)) { in main()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | py_compile.py | 144 rv = 0 154 rv = 1 157 rv = 1 165 rv = 1 167 return rv
|
D | copy.py | 84 rv = reductor(x) 88 rv = reductor(2) 92 rv = reductor() 96 return _reconstruct(x, rv, 0) 178 rv = reductor(x) 182 rv = reductor(2) 186 rv = reductor() 190 y = _reconstruct(x, rv, 1, memo)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
D | spark.py | 49 rv = '(?P<%s>%s)' % (name[2:], doc) 50 return rv 53 rv = [] 56 rv.append(self.makeRE(name)) 58 rv.append(self.makeRE('t_default')) 59 return string.join(rv, '|') 146 rv = self.__dict__.copy() 149 del rv['rule2func'] 150 del rv['nullable'] 151 del rv['cores'] [all …]
|
D | myreadline.c | 173 char *rv; in PyOS_Readline() local 208 rv = PyOS_StdioReadline (sys_stdin, sys_stdout, prompt); in PyOS_Readline() 210 rv = (*PyOS_ReadlineFunctionPointer)(sys_stdin, sys_stdout, in PyOS_Readline() 220 return rv; in PyOS_Readline()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | setobject.c | 1264 int rv = set_contains_entry(so, entry); in set_intersection() local 1265 if (rv == -1) { in set_intersection() 1269 if (rv) { in set_intersection() 1286 int rv; in set_intersection() local 1298 rv = set_contains_entry(so, &entry); in set_intersection() 1299 if (rv == -1) { in set_intersection() 1305 if (rv) { in set_intersection() 1429 int rv = set_contains_entry(so, entry); in set_isdisjoint() local 1430 if (rv == -1) in set_isdisjoint() 1432 if (rv) in set_isdisjoint() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/ |
D | myreadline.c | 170 char *rv; in PyOS_Readline() local 205 rv = PyOS_StdioReadline (sys_stdin, sys_stdout, prompt); in PyOS_Readline() 207 rv = (*PyOS_ReadlineFunctionPointer)(sys_stdin, sys_stdout, in PyOS_Readline() 217 return rv; in PyOS_Readline()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | setobject.c | 1265 int rv = set_contains_entry(so, entry); in set_intersection() local 1266 if (rv == -1) { in set_intersection() 1270 if (rv) { in set_intersection() 1287 int rv; in set_intersection() local 1299 rv = set_contains_entry(so, &entry); in set_intersection() 1300 if (rv == -1) { in set_intersection() 1306 if (rv) { in set_intersection() 1430 int rv = set_contains_entry(so, entry); in set_isdisjoint() local 1431 if (rv == -1) in set_isdisjoint() 1433 if (rv) in set_isdisjoint() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | copy.py | 84 rv = reductor(x) 88 rv = reductor(2) 92 rv = reductor() 96 return _reconstruct(x, rv, 0) 178 rv = reductor(x) 182 rv = reductor(2) 186 rv = reductor() 190 y = _reconstruct(x, rv, 1, memo)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/bgen/bgen/ |
D | bgenGenerator.py | 125 self.rv = self.makereturnvar() 126 self.argumentList.append(self.rv) 128 self.rv = None 230 if arg is self.rv: 241 if self.rv: 242 return "%s = " % self.rv.name
|