/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
wave.py | 105 _sampwidth -- the number of bytes per audio sample
197 return self._sampwidth
234 if self._sampwidth > 1 and big_endian:
240 data = array.array(_array_fmts[self._sampwidth])
242 if nitems * self._sampwidth > chunk.chunksize - chunk.size_read:
243 nitems = (chunk.chunksize - chunk.size_read) / self._sampwidth
246 chunk.size_read = chunk.size_read + nitems * self._sampwidth
249 chunk.size_read = chunk.size_read + nitems * self._sampwidth
256 self._soundpos = self._soundpos + len(data) // (self._nchannels * self._sampwidth)
267 self._sampwidth = (sampwidth + 7) // 8 [all...] |
aifc.py | 254 # _sampwidth -- the number of bytes per audio sample
321 cl.BITS_PER_COMPONENT, self._sampwidth * 8,
363 return self._sampwidth
412 self._soundpos = self._soundpos + len(data) // (self._nchannels * self._sampwidth)
442 self._sampwidth = (_read_short(chunk) + 7) // 8
444 self._framesize = self._nchannels * self._sampwidth
534 # _sampwidth -- the number of bytes per audio sample
572 self._sampwidth = 0
616 self._sampwidth = sampwidth
619 if not self._sampwidth: [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
wave.py | 105 _sampwidth -- the number of bytes per audio sample 197 return self._sampwidth 234 if self._sampwidth > 1 and big_endian: 240 data = array.array(_array_fmts[self._sampwidth]) 242 if nitems * self._sampwidth > chunk.chunksize - chunk.size_read: 243 nitems = (chunk.chunksize - chunk.size_read) / self._sampwidth 246 chunk.size_read = chunk.size_read + nitems * self._sampwidth 249 chunk.size_read = chunk.size_read + nitems * self._sampwidth 256 self._soundpos = self._soundpos + len(data) // (self._nchannels * self._sampwidth) 267 self._sampwidth = (sampwidth + 7) // [all...] |
sunau.py | 183 self._sampwidth = 2 186 self._framesize = self._sampwidth = 1 188 self._framesize = self._sampwidth = 2 190 self._framesize = self._sampwidth = 3 192 self._framesize = self._sampwidth = 4 214 return self._sampwidth 261 data = audioop.ulaw2lin(data, self._sampwidth) 297 self._sampwidth = 0 323 self._sampwidth = sampwidth 328 return self._sampwidth [all...] |
aifc.py | 266 # _sampwidth -- the number of bytes per audio sample 333 cl.BITS_PER_COMPONENT, self._sampwidth * 8, 375 return self._sampwidth 424 self._soundpos = self._soundpos + len(data) // (self._nchannels * self._sampwidth) 454 self._sampwidth = (_read_short(chunk) + 7) // 8 456 self._framesize = self._nchannels * self._sampwidth 546 # _sampwidth -- the number of bytes per audio sample 584 self._sampwidth = 0 628 self._sampwidth = sampwidth 631 if not self._sampwidth [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
wave.py | 105 _sampwidth -- the number of bytes per audio sample 197 return self._sampwidth 234 if self._sampwidth > 1 and big_endian: 240 data = array.array(_array_fmts[self._sampwidth]) 242 if nitems * self._sampwidth > chunk.chunksize - chunk.size_read: 243 nitems = (chunk.chunksize - chunk.size_read) / self._sampwidth 246 chunk.size_read = chunk.size_read + nitems * self._sampwidth 249 chunk.size_read = chunk.size_read + nitems * self._sampwidth 256 self._soundpos = self._soundpos + len(data) // (self._nchannels * self._sampwidth) 267 self._sampwidth = (sampwidth + 7) // [all...] |
sunau.py | 183 self._sampwidth = 2 186 self._framesize = self._sampwidth = 1 188 self._framesize = self._sampwidth = 2 190 self._framesize = self._sampwidth = 3 192 self._framesize = self._sampwidth = 4 214 return self._sampwidth 261 data = audioop.ulaw2lin(data, self._sampwidth) 297 self._sampwidth = 0 323 self._sampwidth = sampwidth 328 return self._sampwidth [all...] |
aifc.py | 266 # _sampwidth -- the number of bytes per audio sample 333 cl.BITS_PER_COMPONENT, self._sampwidth * 8, 375 return self._sampwidth 424 self._soundpos = self._soundpos + len(data) // (self._nchannels * self._sampwidth) 454 self._sampwidth = (_read_short(chunk) + 7) // 8 456 self._framesize = self._nchannels * self._sampwidth 546 # _sampwidth -- the number of bytes per audio sample 584 self._sampwidth = 0 628 self._sampwidth = sampwidth 631 if not self._sampwidth [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
wave.py | 105 _sampwidth -- the number of bytes per audio sample 197 return self._sampwidth 234 if self._sampwidth > 1 and big_endian: 240 data = array.array(_array_fmts[self._sampwidth]) 242 if nitems * self._sampwidth > chunk.chunksize - chunk.size_read: 243 nitems = (chunk.chunksize - chunk.size_read) / self._sampwidth 246 chunk.size_read = chunk.size_read + nitems * self._sampwidth 249 chunk.size_read = chunk.size_read + nitems * self._sampwidth 256 self._soundpos = self._soundpos + len(data) // (self._nchannels * self._sampwidth) 267 self._sampwidth = (sampwidth + 7) // [all...] |
sunau.py | 183 self._sampwidth = 2 186 self._framesize = self._sampwidth = 1 188 self._framesize = self._sampwidth = 2 190 self._framesize = self._sampwidth = 3 192 self._framesize = self._sampwidth = 4 214 return self._sampwidth 261 data = audioop.ulaw2lin(data, self._sampwidth) 297 self._sampwidth = 0 323 self._sampwidth = sampwidth 328 return self._sampwidth [all...] |
aifc.py | 266 # _sampwidth -- the number of bytes per audio sample 333 cl.BITS_PER_COMPONENT, self._sampwidth * 8, 375 return self._sampwidth 424 self._soundpos = self._soundpos + len(data) // (self._nchannels * self._sampwidth) 454 self._sampwidth = (_read_short(chunk) + 7) // 8 456 self._framesize = self._nchannels * self._sampwidth 546 # _sampwidth -- the number of bytes per audio sample 584 self._sampwidth = 0 628 self._sampwidth = sampwidth 631 if not self._sampwidth [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
wave.py | 105 _sampwidth -- the number of bytes per audio sample 197 return self._sampwidth 234 if self._sampwidth > 1 and big_endian: 240 data = array.array(_array_fmts[self._sampwidth]) 242 if nitems * self._sampwidth > chunk.chunksize - chunk.size_read: 243 nitems = (chunk.chunksize - chunk.size_read) / self._sampwidth 246 chunk.size_read = chunk.size_read + nitems * self._sampwidth 249 chunk.size_read = chunk.size_read + nitems * self._sampwidth 256 self._soundpos = self._soundpos + len(data) // (self._nchannels * self._sampwidth) 267 self._sampwidth = (sampwidth + 7) // [all...] |
sunau.py | 183 self._sampwidth = 2 186 self._framesize = self._sampwidth = 1 188 self._framesize = self._sampwidth = 2 190 self._framesize = self._sampwidth = 3 192 self._framesize = self._sampwidth = 4 214 return self._sampwidth 261 data = audioop.ulaw2lin(data, self._sampwidth) 297 self._sampwidth = 0 323 self._sampwidth = sampwidth 328 return self._sampwidth [all...] |
aifc.py | 266 # _sampwidth -- the number of bytes per audio sample 333 cl.BITS_PER_COMPONENT, self._sampwidth * 8, 375 return self._sampwidth 424 self._soundpos = self._soundpos + len(data) // (self._nchannels * self._sampwidth) 454 self._sampwidth = (_read_short(chunk) + 7) // 8 456 self._framesize = self._nchannels * self._sampwidth 546 # _sampwidth -- the number of bytes per audio sample 584 self._sampwidth = 0 628 self._sampwidth = sampwidth 631 if not self._sampwidth [all...] |
/external/python/cpython2/Lib/plat-mac/ |
Audio_mac.py | 13 self._sampwidth = 1 39 self._sampwidth = sampwidth 52 nframes = len(data) / self._nchannels / self._sampwidth 53 if len(data) != nframes * self._nchannels * self._sampwidth: 57 self._qsize / self._nchannels / self._sampwidth: 59 if self._sampwidth == 1: 73 self._sampwidth*8, 95 return filled / self._nchannels / self._sampwidth 98 return (self._qsize / self._nchannels / self._sampwidth) - self.getfilled()
|
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
Audio_mac.py | 13 self._sampwidth = 1 39 self._sampwidth = sampwidth 52 nframes = len(data) / self._nchannels / self._sampwidth 53 if len(data) != nframes * self._nchannels * self._sampwidth: 57 self._qsize / self._nchannels / self._sampwidth: 59 if self._sampwidth == 1: 73 self._sampwidth*8, 95 return filled / self._nchannels / self._sampwidth 98 return (self._qsize / self._nchannels / self._sampwidth) - self.getfilled()
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
Audio_mac.py | 13 self._sampwidth = 1 39 self._sampwidth = sampwidth 52 nframes = len(data) / self._nchannels / self._sampwidth 53 if len(data) != nframes * self._nchannels * self._sampwidth: 57 self._qsize / self._nchannels / self._sampwidth: 59 if self._sampwidth == 1: 73 self._sampwidth*8, 95 return filled / self._nchannels / self._sampwidth 98 return (self._qsize / self._nchannels / self._sampwidth) - self.getfilled()
|
/external/python/cpython2/Lib/ |
wave.py | 106 _sampwidth -- the number of bytes per audio sample 199 return self._sampwidth 236 if self._sampwidth in (2, 4) and sys.byteorder == 'big': 242 data = array.array(_array_fmts[self._sampwidth]) 243 assert data.itemsize == self._sampwidth 245 if nitems * self._sampwidth > chunk.chunksize - chunk.size_read: 246 nitems = (chunk.chunksize - chunk.size_read) // self._sampwidth 249 chunk.size_read = chunk.size_read + nitems * self._sampwidth 252 chunk.size_read = chunk.size_read + nitems * self._sampwidth 257 if self._sampwidth == 3 and sys.byteorder == 'big' [all...] |
sunau.py | 183 self._sampwidth = 2 186 self._framesize = self._sampwidth = 1 188 self._framesize = self._sampwidth = 2 190 self._framesize = self._sampwidth = 3 192 self._framesize = self._sampwidth = 4 218 return self._sampwidth 266 data = audioop.ulaw2lin(data, self._sampwidth) 306 self._sampwidth = 0 332 self._sampwidth = sampwidth 337 return self._sampwidth [all...] |
aifc.py | 266 # _sampwidth -- the number of bytes per audio sample 333 cl.BITS_PER_COMPONENT, self._sampwidth * 8, 378 return self._sampwidth 427 self._soundpos = self._soundpos + len(data) // (self._nchannels * self._sampwidth) 457 self._sampwidth = (_read_short(chunk) + 7) // 8 459 self._framesize = self._nchannels * self._sampwidth 486 self._sampwidth = 2 496 self._sampwidth = 2 509 self._sampwidth = 2 548 # _sampwidth -- the number of bytes per audio sampl [all...] |