Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 25 of 42) sorted by relevance

12

/device/google/dragon/audio/hal/dsp/
Ddsp_util.c31 int chunk = frames >> 3; in deinterleave_stereo() local
33 if (chunk) { in deinterleave_stereo()
50 [chunk]"+r"(chunk), in deinterleave_stereo()
75 int chunk = frames >> 2; in interleave_stereo() local
78 if (chunk) { in interleave_stereo()
102 "=r"(chunk), in interleave_stereo()
107 [chunk]"0"(chunk), in interleave_stereo()
141 int chunk = frames >> 3; in deinterleave_stereo() local
143 if (chunk) { in deinterleave_stereo()
172 [chunk]"+r"(chunk), in deinterleave_stereo()
[all …]
Ddrc_kernel.c988 unsigned int chunk = min(large - small, in dk_process_delay_only() local
990 chunk = min(chunk, count - i); in dk_process_delay_only()
994 chunk * sizeof(float)); in dk_process_delay_only()
997 chunk * sizeof(float)); in dk_process_delay_only()
999 read_index = (read_index + chunk) & MAX_PRE_DELAY_FRAMES_MASK; in dk_process_delay_only()
1000 write_index = (write_index + chunk) & MAX_PRE_DELAY_FRAMES_MASK; in dk_process_delay_only()
1001 i += chunk; in dk_process_delay_only()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/
Dlogmerge.py60 chunk = read_chunk(sys.stdin)
61 if not chunk:
63 records = digest_chunk(chunk, branch)
78 chunk = []
86 chunk.append(lines)
90 chunk.append(lines)
94 return chunk
96 def digest_chunk(chunk, branch=None): argument
98 lines = chunk[0]
133 for lines in chunk[1:]:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dwave.py92 from chunk import Chunk
138 chunk = Chunk(self._file, bigendian = 0)
141 chunkname = chunk.getname()
143 self._read_fmt_chunk(chunk)
148 self._data_chunk = chunk
149 self._nframes = chunk.chunksize // self._framesize
152 chunk.skip()
239 chunk = self._data_chunk
242 if nitems * self._sampwidth > chunk.chunksize - chunk.size_read:
243 nitems = (chunk.chunksize - chunk.size_read) / self._sampwidth
[all …]
Daifc.py241 from chunk import Chunk
286 chunk = Chunk(file)
287 if chunk.getname() != 'FORM':
289 formdata = chunk.read(4)
300 chunk = Chunk(self._file)
303 chunkname = chunk.getname()
305 self._read_comm_chunk(chunk)
308 self._ssnd_chunk = chunk
309 dummy = chunk.read(8)
312 self._version = _read_ulong(chunk)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/zlib/
Dzlibdemo.py30 chunk = 256
34 for i in range(0, len(s), chunk):
35 comptext = comptext+compressor.compress(s[i:i+chunk])
39 for i in range(0, len(comptext), chunk):
40 decomp = decomp + decompressor.decompress(comptext[i:i+chunk])
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_zlib.py231 chunk = dco.decompress('')
232 if chunk:
233 bufs.append(chunk)
264 chunk = dco.decompress(cb, dcx)
265 self.assertFalse(len(chunk) > dcx,
266 'chunk too big (%d>%d)' % (len(chunk), dcx))
267 bufs.append(chunk)
289 chunk = dco.decompress(cb, max_length)
290 self.assertFalse(len(chunk) > max_length,
291 'chunk too big (%d>%d)' % (len(chunk),max_length))
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/json/
Dencoder.py326 for chunk in chunks:
327 yield chunk
402 for chunk in chunks:
403 yield chunk
425 for chunk in _iterencode_list(o, _current_indent_level):
426 yield chunk
428 for chunk in _iterencode_dict(o, _current_indent_level):
429 yield chunk
437 for chunk in _iterencode(o, _current_indent_level):
438 yield chunk
D__init__.py181 for chunk in iterable:
182 fp.write(chunk)
Ddecoder.py81 chunk = _m(s, end)
82 if chunk is None:
85 end = chunk.end()
86 content, terminator = chunk.groups()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/json/
Dencoder.py332 for chunk in chunks:
333 yield chunk
408 for chunk in chunks:
409 yield chunk
431 for chunk in _iterencode_list(o, _current_indent_level):
432 yield chunk
434 for chunk in _iterencode_dict(o, _current_indent_level):
435 yield chunk
443 for chunk in _iterencode(o, _current_indent_level):
444 yield chunk
Ddecoder.py91 chunk = _m(s, end)
92 if chunk is None:
95 end = chunk.end()
96 content, terminator = chunk.groups()
D__init__.py189 for chunk in iterable:
190 fp.write(chunk)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/encodings/
Duu_codec.py36 chunk = read(45)
37 while chunk:
38 write(b2a_uu(chunk))
39 chunk = read(45)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/encodings/
Duu_codec.py36 chunk = read(45)
37 while chunk:
38 write(b2a_uu(chunk))
39 chunk = read(45)
/device/google/dragon/audio/hal/dsp/tests/
Ddrc_test.c31 int chunk; in process() local
36 chunk = min(DRC_PROCESS_MAX_FRAMES, frames - start); in process()
37 drc_process(drc, data, chunk); in process()
38 start += chunk; in process()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/iobench/
Diobench.py373 chunk = []
386 chunk = "".join(line.replace("\n", next(it)) for line in f)
387 if isinstance(chunk, bytes):
388 chunk = chunk.decode('utf8')
389 chunk = chunk.encode(TEXT_ENCODING)
393 head = chunk * (size // len(chunk))
394 tail = chunk[:size % len(chunk)]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Python/
Drandom.c81 Py_ssize_t chunk; in win32_urandom() local
91 chunk = size > INT_MAX ? INT_MAX : size; in win32_urandom()
92 if (!pCryptGenRandom(hCryptProv, chunk, buffer)) in win32_urandom()
102 buffer += chunk; in win32_urandom()
103 size -= chunk; in win32_urandom()
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/
Dplat_io_storage.c487 chunk_header_t *chunk = NULL; in do_unsparse() local
510 chunk = (chunk_header_t *)data; in do_unsparse()
512 length = (uint64_t)chunk->chunk_sz * (uint64_t)header->blk_sz; in do_unsparse()
514 switch (chunk->chunk_type) { in do_unsparse()
529 if (chunk->total_sz != (sizeof(unsigned int) + sizeof(chunk_header_t))) { in do_unsparse()
560 if (chunk->total_sz != sizeof(chunk_header_t)) { in do_unsparse()
568 NOTICE("sparse: unrecognized type 0x%x\n", chunk->chunk_type); in do_unsparse()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_json.c437 PyObject *chunk = NULL; in scanstring_str() local
458 chunk = PyUnicode_FromEncodedObject(strchunk, encoding, NULL); in scanstring_str()
460 if (chunk == NULL) { in scanstring_str()
463 if (PyList_Append(chunks, chunk)) { in scanstring_str()
464 Py_DECREF(chunk); in scanstring_str()
467 Py_DECREF(chunk); in scanstring_str()
569 chunk = PyUnicode_FromUnicode(&c, 1); in scanstring_str()
570 if (chunk == NULL) { in scanstring_str()
573 if (PyList_Append(chunks, chunk)) { in scanstring_str()
574 Py_DECREF(chunk); in scanstring_str()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
D_json.c437 PyObject *chunk = NULL; in scanstring_str() local
458 chunk = PyUnicode_FromEncodedObject(strchunk, encoding, NULL); in scanstring_str()
460 if (chunk == NULL) { in scanstring_str()
463 if (PyList_Append(chunks, chunk)) { in scanstring_str()
464 Py_DECREF(chunk); in scanstring_str()
467 Py_DECREF(chunk); in scanstring_str()
558 chunk = PyUnicode_FromUnicode(&c, 1); in scanstring_str()
559 if (chunk == NULL) { in scanstring_str()
562 if (PyList_Append(chunks, chunk)) { in scanstring_str()
563 Py_DECREF(chunk); in scanstring_str()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/logging/
Dconfig.py810 chunk = conn.recv(4)
811 if len(chunk) == 4:
812 slen = struct.unpack(">L", chunk)[0]
813 chunk = self.connection.recv(slen)
814 while len(chunk) < slen:
815 chunk = chunk + conn.recv(slen - len(chunk))
818 d =json.loads(chunk)
824 file = cStringIO.StringIO(chunk)
/device/generic/goldfish/camera/fake-pipeline2/
DJpegCompressor.cpp179 JSAMPROW chunk[kChunkSize]; in compress() local
181 chunk[i] = (JSAMPROW) in compress()
184 jpeg_write_scanlines(&mCInfo, chunk, kChunkSize); in compress()
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlua.c401 const char *chunk = argv[i] + 2; in runargs() local
402 if (*chunk == '\0') chunk = argv[++i]; in runargs()
403 lua_assert(chunk != NULL); in runargs()
404 if (dostring(L, chunk, "=(command line)") != LUA_OK) in runargs()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/
Dheader.py331 chunk = [(fencoded, charset)]
332 return chunk + self._split(last, charset, self._maxlinelen, splitchars)
501 chunk = charset.from_splittable(splittable[:m], True)
502 chunklen = charset.encoded_header_len(chunk)

12