/device/google/accessory/arduino/USB_Host_Shield/ |
D | Usb.h | 133 …byte bRequest, byte wValLo, byte wValHi, unsigned int wInd, unsigned int nbytes, char* dataptr, un… 135 …byte getDevDescr( byte addr, byte ep, unsigned int nbytes, char* dataptr, unsigned int nak_limit =… 136 …byte getConfDescr( byte addr, byte ep, unsigned int nbytes, byte conf, char* dataptr, unsigned int… 137 …byte getStrDescr( byte addr, byte ep, unsigned int nbytes, byte index, unsigned int langid, char* … 143 …byte getReportDescr( byte addr, byte ep, unsigned int nbytes, char* dataptr, unsigned int nak_limi… 144 …byte setReport( byte addr, byte ep, unsigned int nbytes, byte interface, byte report_type, byte re… 145 …byte getReport( byte addr, byte ep, unsigned int nbytes, byte interface, byte report_type, byte re… 149 …byte ctrlData( byte addr, byte ep, unsigned int nbytes, char* dataptr, boolean direction, unsigned… 151 …byte inTransfer( byte addr, byte ep, unsigned int nbytes, char* data, unsigned int nak_limit = USB… 152 …int newInTransfer( byte addr, byte ep, unsigned int nbytes, char* data, unsigned int nak_limit = … [all …]
|
D | Usb.cpp | 86 …byte bRequest, byte wValLo, byte wValHi, unsigned int wInd, unsigned int nbytes, char* dataptr, un… in ctrlReq() argument 102 setup_pkt.wLength = nbytes; in ctrlReq() 113 rcode = ctrlData( addr, ep, nbytes, dataptr, direction ); in ctrlReq() 137 byte USB::ctrlData( byte addr, byte ep, unsigned int nbytes, char* dataptr, boolean direction, unsi… in ctrlData() argument 142 rcode = inTransfer( addr, ep, nbytes, dataptr, nak_limit ); in ctrlData() 147 rcode = outTransfer( addr, ep, nbytes, dataptr, nak_limit ); in ctrlData() 155 byte USB::inTransfer( byte addr, byte ep, unsigned int nbytes, char* data, unsigned int nak_limit ) in inTransfer() argument 179 … if (( pktsize < maxpktsize ) || (xfrlen >= nbytes )) { // have we transferred 'nbytes' bytes? in inTransfer() 191 int USB::newInTransfer( byte addr, byte ep, unsigned int nbytes, char* data, unsigned int nak_limit… in newInTransfer() argument 215 … if (( pktsize < maxpktsize ) || (xfrlen >= nbytes )) { // have we transferred 'nbytes' bytes? in newInTransfer() [all …]
|
D | Max3421e.cpp | 132 char * MAX3421E::bytesWr( byte reg, byte nbytes, char * data ) in bytesWr() argument 136 while( nbytes-- ) { in bytesWr() 170 char * MAX3421E::bytesRd ( byte reg, byte nbytes, char * data ) in bytesRd() argument 175 while( nbytes ) { in bytesRd() 177 nbytes--; in bytesRd()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | obmalloc.c | 536 size_t nbytes; in new_arena() local 548 nbytes = numarenas * sizeof(*arenas); in new_arena() 549 arenaobj = (struct arena_object *)realloc(arenas, nbytes); in new_arena() 747 PyObject_Malloc(size_t nbytes) in PyObject_Malloc() argument 767 if (nbytes > PY_SSIZE_T_MAX) in PyObject_Malloc() 773 if ((nbytes - 1) < SMALL_REQUEST_THRESHOLD) { in PyObject_Malloc() 778 size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT; in PyObject_Malloc() 941 if (nbytes == 0) in PyObject_Malloc() 942 nbytes = 1; in PyObject_Malloc() 943 return (void *)malloc(nbytes); in PyObject_Malloc() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | obmalloc.c | 571 size_t nbytes; in new_arena() local 583 nbytes = numarenas * sizeof(*arenas); in new_arena() 584 arenaobj = (struct arena_object *)realloc(arenas, nbytes); in new_arena() 790 PyObject_Malloc(size_t nbytes) in PyObject_Malloc() argument 810 if (nbytes > PY_SSIZE_T_MAX) in PyObject_Malloc() 816 if ((nbytes - 1) < SMALL_REQUEST_THRESHOLD) { in PyObject_Malloc() 821 size = (uint)(nbytes - 1) >> ALIGNMENT_SHIFT; in PyObject_Malloc() 984 if (nbytes == 0) in PyObject_Malloc() 985 nbytes = 1; in PyObject_Malloc() 986 return (void *)malloc(nbytes); in PyObject_Malloc() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
D | md5module.c | 63 Py_ssize_t nbytes; in md5_update() local 65 nbytes = INT_MAX; in md5_update() 67 nbytes = n; in md5_update() 69 Py_SAFE_DOWNCAST(nbytes, Py_ssize_t, unsigned int)); in md5_update() 70 buf += nbytes; in md5_update() 71 n -= nbytes; in md5_update() 292 Py_ssize_t nbytes; in MD5_new() local 294 nbytes = INT_MAX; in MD5_new() 296 nbytes = n; in MD5_new() 298 Py_SAFE_DOWNCAST(nbytes, Py_ssize_t, unsigned int)); in MD5_new() [all …]
|
D | shamodule.c | 441 Py_ssize_t nbytes; in SHA_update() local 443 nbytes = INT_MAX; in SHA_update() 445 nbytes = n; in SHA_update() 447 Py_SAFE_DOWNCAST(nbytes, Py_ssize_t, unsigned int)); in SHA_update() 448 buf += nbytes; in SHA_update() 449 n -= nbytes; in SHA_update() 576 Py_ssize_t nbytes; in SHA_new() local 578 nbytes = INT_MAX; in SHA_new() 580 nbytes = n; in SHA_new() 582 Py_SAFE_DOWNCAST(nbytes, Py_ssize_t, unsigned int)); in SHA_new() [all …]
|
D | md5.c | 324 md5_append(md5_state_t *pms, const md5_byte_t *data, unsigned int nbytes) in md5_append() argument 327 unsigned int left = nbytes; in md5_append() 329 md5_word_t nbits = (md5_word_t)(nbytes << 3); in md5_append() 331 if (nbytes <= 0) in md5_append() 335 if (nbytes > INT_MAX - offset) { in md5_append() 342 md5_append(pms, data + overlap, nbytes - overlap); in md5_append() 347 pms->count[1] += nbytes >> 29; in md5_append() 354 unsigned int copy = (offset + nbytes > 64 ? 64 - offset : nbytes); in md5_append()
|
D | md5.h | 82 void md5_append(md5_state_t *pms, const md5_byte_t *data, unsigned int nbytes);
|
D | cPickle.c | 218 Py_ssize_t nbytes; in Pdata_grow() local 227 nbytes = bigger * sizeof(PyObject *); in Pdata_grow() 228 tmp = realloc(self->data, nbytes); in Pdata_grow() 1086 size_t nbytes; in save_long() local 1118 nbytes = (nbits >> 3) + 1; in save_long() 1119 if (nbytes > INT_MAX) { in save_long() 1124 repr = PyString_FromStringAndSize(NULL, (int)nbytes); in save_long() 1128 pdata, nbytes, in save_long() 1135 if (sign < 0 && nbytes > 1 && pdata[nbytes - 1] == 0xff && in save_long() 1136 (pdata[nbytes - 2] & 0x80) != 0) in save_long() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
D | bitset.c | 10 int nbytes = NBYTES(nbits); in newbitset() local 11 bitset ss = (char *)PyObject_MALLOC(sizeof(BYTE) * nbytes); in newbitset() 16 ss += nbytes; in newbitset() 17 while (--nbytes >= 0) in newbitset()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Parser/ |
D | bitset.c | 10 int nbytes = NBYTES(nbits); in newbitset() local 11 bitset ss = (char *)PyObject_MALLOC(sizeof(BYTE) * nbytes); in newbitset() 16 ss += nbytes; in newbitset() 17 while (--nbytes >= 0) in newbitset()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_ioctl.py | 38 def _check_ioctl_mutate_len(self, nbytes=None): argument 44 if nbytes is not None: 46 buf.extend([fill] * (nbytes // intsize)) 47 self.assertEqual(len(buf) * intsize, nbytes) # sanity check
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | ssl.py | 236 def recv_into(self, buffer, nbytes=None, flags=0): argument 237 if buffer and (nbytes is None): 238 nbytes = len(buffer) 239 elif nbytes is None: 240 nbytes = 1024 246 tmp_buffer = self.read(nbytes) 251 return self._sock.recv_into(buffer, nbytes, flags) 260 def recvfrom_into(self, buffer, nbytes=None, flags=0): argument 265 return self._sock.recvfrom_into(buffer, nbytes, flags)
|
D | CGIHTTPServer.py | 271 nbytes = int(length) 273 nbytes = 0 280 if self.command.lower() == "post" and nbytes > 0: 281 data = self.rfile.read(nbytes)
|
D | uu.py | 146 nbytes = (((ord(s[0])-32) & 63) * 4 + 5) // 3 147 data = binascii.a2b_uu(s[:nbytes])
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/ |
D | objimpl.h | 105 PyAPI_FUNC(void *) _PyObject_DebugMalloc(size_t nbytes); 106 PyAPI_FUNC(void *) _PyObject_DebugRealloc(void *p, size_t nbytes); 111 PyAPI_FUNC(void *) _PyObject_DebugMallocApi(char api, size_t nbytes); 112 PyAPI_FUNC(void *) _PyObject_DebugReallocApi(char api, void *p, size_t nbytes); 115 PyAPI_FUNC(void *) _PyMem_DebugMalloc(size_t nbytes); 116 PyAPI_FUNC(void *) _PyMem_DebugRealloc(void *p, size_t nbytes);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/ |
D | objimpl.h | 105 PyAPI_FUNC(void *) _PyObject_DebugMalloc(size_t nbytes); 106 PyAPI_FUNC(void *) _PyObject_DebugRealloc(void *p, size_t nbytes); 111 PyAPI_FUNC(void *) _PyObject_DebugMallocApi(char api, size_t nbytes); 112 PyAPI_FUNC(void *) _PyObject_DebugReallocApi(char api, void *p, size_t nbytes); 115 PyAPI_FUNC(void *) _PyMem_DebugMalloc(size_t nbytes); 116 PyAPI_FUNC(void *) _PyMem_DebugRealloc(void *p, size_t nbytes);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
D | md5.c | 324 md5_append(md5_state_t *pms, const md5_byte_t *data, unsigned int nbytes) in md5_append() argument 327 unsigned int left = nbytes; in md5_append() 329 md5_word_t nbits = (md5_word_t)(nbytes << 3); in md5_append() 331 if (nbytes <= 0) in md5_append() 335 if (nbytes > INT_MAX - offset) { in md5_append() 342 md5_append(pms, data + overlap, nbytes - overlap); in md5_append() 347 pms->count[1] += nbytes >> 29; in md5_append() 354 unsigned int copy = (offset + nbytes > 64 ? 64 - offset : nbytes); in md5_append()
|
D | md5.h | 82 void md5_append(md5_state_t *pms, const md5_byte_t *data, unsigned int nbytes);
|
D | cPickle.c | 218 size_t nbytes; in Pdata_grow() local 226 nbytes = (size_t)bigger * sizeof(PyObject *); in Pdata_grow() 227 if (nbytes / sizeof(PyObject *) != (size_t)bigger) in Pdata_grow() 229 tmp = realloc(self->data, nbytes); in Pdata_grow() 1055 size_t nbytes; in save_long() local 1087 nbytes = (nbits >> 3) + 1; in save_long() 1088 if (nbytes > INT_MAX) { in save_long() 1093 repr = PyString_FromStringAndSize(NULL, (int)nbytes); in save_long() 1097 pdata, nbytes, in save_long() 1104 if (sign < 0 && nbytes > 1 && pdata[nbytes - 1] == 0xff && in save_long() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/ |
D | uu_codec.py | 87 nbytes = (((ord(s[0])-32) & 63) * 4 + 5) / 3 88 data = a2b_uu(s[:nbytes])
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/ |
D | uu_codec.py | 87 nbytes = (((ord(s[0])-32) & 63) * 4 + 5) // 3 88 data = a2b_uu(s[:nbytes])
|
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
D | vfwprintf.c | 501 size_t clen, nbytes; in __wcsconv() local 507 nbytes = wcsrtombs(NULL, (const wchar_t **)&p, 0, &mbs); in __wcsconv() 508 if (nbytes == (size_t)-1) in __wcsconv() 517 nbytes = prec; in __wcsconv() 519 nbytes = 0; in __wcsconv() 525 nbytes + clen > (size_t)prec) in __wcsconv() 527 nbytes += clen; in __wcsconv() 531 if ((convbuf = malloc(nbytes + 1)) == NULL) in __wcsconv() 537 if ((nbytes = wcsrtombs(convbuf, (const wchar_t **)&p, in __wcsconv() 538 nbytes, &mbs)) == (size_t)-1) { in __wcsconv() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/ |
D | cursor.c | 312 Py_ssize_t nbytes; in _pysqlite_fetch_one_row() local 344 nbytes = sqlite3_column_bytes(self->statement->st, i); in _pysqlite_fetch_one_row() 350 item = PyString_FromStringAndSize(val_str, nbytes); in _pysqlite_fetch_one_row() 400 nbytes = sqlite3_column_bytes(self->statement->st, i); in _pysqlite_fetch_one_row() 401 buffer = PyBuffer_New(nbytes); in _pysqlite_fetch_one_row() 405 if (PyObject_AsWriteBuffer(buffer, &raw_buffer, &nbytes)) { in _pysqlite_fetch_one_row() 408 memcpy(raw_buffer, sqlite3_column_blob(self->statement->st, i), nbytes); in _pysqlite_fetch_one_row()
|