/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
Chunk.java | 22 * A chunk of DDM data. This is really just meant to hold a few pieces 28 public class Chunk { 33 public int type; // chunk type 34 public byte[] data; // chunk data 40 public Chunk() {} 45 public Chunk(int type, byte[] data, int offset, int length) { 53 * Construct from a ByteBuffer. The chunk is assumed to start at 56 public Chunk(int type, ByteBuffer buf) {
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
chunk.py | 3 An IFF chunk (used in formats such as AIFF, TIFF, RMFF (RealMedia File 15 The ID is a 4-byte string which identifies the type of chunk. 18 gives the size of the whole chunk, including the 8-byte header. 21 usage of the Chunk class defined here is to instantiate an instance at 22 the start of each chunk and read from the instance until it reaches 30 chunk = Chunk(file) 33 chunktype = chunk.getname() 35 data = chunk.read(nbytes) 42 Extra methods are: skip() (called by close, skips to the end of the chunk), [all...] |
wave.py | 92 from chunk import Chunk 118 _fmt_chunk_read -- 1 iff the FMT chunk has been read 121 _data_chunk -- instantiation of a chunk class for the DATA chunk 128 self._file = Chunk(file, bigendian = 0) 138 chunk = Chunk(self._file, bigendian = 0) 141 chunkname = chunk.getname() 143 self._read_fmt_chunk(chunk) [all...] |
aifc.py | 23 A chunk consists of an identifier (4 bytes) followed by a size (4 bytes, 27 The following chunk types are recognized. 253 from chunk import Chunk 284 # _comm_chunk_read -- 1 iff the COMM chunk has been read 288 # _ssnd_chunk -- instantiation of a chunk class for the SSND chunk 298 chunk = Chunk(file) 299 if chunk.getname() != 'FORM' [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
chunk.py | 3 An IFF chunk (used in formats such as AIFF, TIFF, RMFF (RealMedia File 15 The ID is a 4-byte string which identifies the type of chunk. 18 gives the size of the whole chunk, including the 8-byte header. 21 usage of the Chunk class defined here is to instantiate an instance at 22 the start of each chunk and read from the instance until it reaches 30 chunk = Chunk(file) 33 chunktype = chunk.getname() 35 data = chunk.read(nbytes) 42 Extra methods are: skip() (called by close, skips to the end of the chunk), [all...] |
wave.py | 92 from chunk import Chunk 118 _fmt_chunk_read -- 1 iff the FMT chunk has been read 121 _data_chunk -- instantiation of a chunk class for the DATA chunk 128 self._file = Chunk(file, bigendian = 0) 138 chunk = Chunk(self._file, bigendian = 0) 141 chunkname = chunk.getname() 143 self._read_fmt_chunk(chunk) [all...] |
aifc.py | 23 A chunk consists of an identifier (4 bytes) followed by a size (4 bytes, 27 The following chunk types are recognized. 253 from chunk import Chunk 284 # _comm_chunk_read -- 1 iff the COMM chunk has been read 288 # _ssnd_chunk -- instantiation of a chunk class for the SSND chunk 298 chunk = Chunk(file) 299 if chunk.getname() != 'FORM' [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
chunk.py | 3 An IFF chunk (used in formats such as AIFF, TIFF, RMFF (RealMedia File 15 The ID is a 4-byte string which identifies the type of chunk. 18 gives the size of the whole chunk, including the 8-byte header. 21 usage of the Chunk class defined here is to instantiate an instance at 22 the start of each chunk and read from the instance until it reaches 30 chunk = Chunk(file) 33 chunktype = chunk.getname() 35 data = chunk.read(nbytes) 42 Extra methods are: skip() (called by close, skips to the end of the chunk), [all...] |
wave.py | 92 from chunk import Chunk 118 _fmt_chunk_read -- 1 iff the FMT chunk has been read 121 _data_chunk -- instantiation of a chunk class for the DATA chunk 128 self._file = Chunk(file, bigendian = 0) 138 chunk = Chunk(self._file, bigendian = 0) 141 chunkname = chunk.getname() 143 self._read_fmt_chunk(chunk) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
chunk.py | 3 An IFF chunk (used in formats such as AIFF, TIFF, RMFF (RealMedia File 15 The ID is a 4-byte string which identifies the type of chunk. 18 gives the size of the whole chunk, including the 8-byte header. 21 usage of the Chunk class defined here is to instantiate an instance at 22 the start of each chunk and read from the instance until it reaches 30 chunk = Chunk(file) 33 chunktype = chunk.getname() 35 data = chunk.read(nbytes) 42 Extra methods are: skip() (called by close, skips to the end of the chunk), [all...] |
wave.py | 92 from chunk import Chunk 118 _fmt_chunk_read -- 1 iff the FMT chunk has been read 121 _data_chunk -- instantiation of a chunk class for the DATA chunk 128 self._file = Chunk(file, bigendian = 0) 138 chunk = Chunk(self._file, bigendian = 0) 141 chunkname = chunk.getname() 143 self._read_fmt_chunk(chunk) [all...] |
/external/llvm/lib/Target/AArch64/ |
AArch64ExpandPseudoInsts.cpp | 75 /// \brief Helper function which extracts the specified 16-bit chunk from a 78 assert(ChunkIdx < 4 && "Out of range chunk index specified!"); 83 /// \brief Helper function which replicates a 16-bit chunk within a 64-bit 86 assert((FromIdx < 4) && (ToIdx < 4) && "Out of range chunk index specified!"); 89 // Replicate the source chunk to the destination position. 90 const uint64_t Chunk = getChunk(Imm, FromIdx) << ShiftAmt; 91 // Clear the destination chunk. 93 // Insert the replicated chunk. 94 return Imm | Chunk; 103 assert(ChunkIdx < 4 && "Out of range chunk index specified!") [all...] |
/frameworks/base/tools/aapt2/unflatten/ |
ResChunkPullParser.h | 32 * and size. The pull parser will verify that the chunk's size 34 * over each chunk in the given block of data. 37 * pointing to the data portion of a chunk. 46 Chunk, 80 inline static const T* convertTo(const android::ResChunk_header* chunk) { 81 if (util::deviceToHost16(chunk->headerSize) < sizeof(T)) { 84 return reinterpret_cast<const T*>(chunk); 87 inline static const uint8_t* getChunkData(const android::ResChunk_header* chunk) { 88 return reinterpret_cast<const uint8_t*>(chunk) + util::deviceToHost16(chunk->headerSize) [all...] |
/external/ceres-solver/internal/ceres/ |
schur_eliminator.h | 85 // E F chunk 94 // [ 0 0 0 0 | z1 0 0 0 0] non chunk blocks 95 // [ 0 0 0 0 | 0 0 z3 z4 z5] non chunk blocks 126 // parameter block yi are known as a chunk, and the algorithm operates 127 // on one chunk at a time. The mathematics remains the same since the 129 // linear systems for each chunk. This can be seen by observing two 134 // 2. When E'F is computed, only the terms within a single chunk 241 // Chunk objects store combinatorial information needed to 242 // efficiently eliminate a whole chunk out of the least squares 243 // problem. Consider the first chunk in the example matrix above [all...] |
/external/v8/src/ |
bignum.h | 76 typedef uint32_t Chunk; 79 static const int kChunkSize = sizeof(Chunk) * 8; 84 static const Chunk kBigitMask = (1 << kBigitSize) - 1; 104 Chunk BigitAt(int index) const; 107 Chunk bigits_buffer_[kBigitCapacity]; 110 Vector<Chunk> bigits_;
|
/frameworks/compile/mclinker/include/mcld/Support/ |
Allocators.h | 19 /** \class Chunk 20 * \brief Chunk is the basic unit of the storage of the LinearAllocator 25 class Chunk { 30 Chunk() : next(NULL), bound(0) {} 43 Chunk* next; 49 class Chunk<DataType, 0> { 54 Chunk() : next(NULL), bound(0) { 61 ~Chunk() { 79 Chunk* next; 86 size_t Chunk<DataType, 0>::m_Size = 0 [all...] |
/system/core/libmemunreachable/ |
Allocator.cpp | 69 class Chunk; 82 void MoveToFullList(Chunk* chunk, int bucket_); 83 void MoveToFreeList(Chunk* chunk, int bucket_); 88 LinkedList<Chunk*> free_chunks_[kNumBuckets]; 89 LinkedList<Chunk*> full_chunks_[kNumBuckets]; 91 void MoveToList(Chunk* chunk, LinkedList<Chunk*>* head) [all...] |
/external/valgrind/perf/ |
many-loss-records.c | 42 struct Chunk { 43 struct Chunk* child; 47 struct Chunk** topblocks; 58 void free_chunks (struct Chunk ** mem) 70 void release (struct Chunk ** mem) 87 int sz = sizeof(struct Chunk*) + malloc_data; 92 struct Chunk *new = NULL; // shut gcc up 93 struct Chunk *prev = NULL; 206 topblocks = malloc(sizeof(struct Chunk*) * stacks * malloc_fan);
|
/external/chromium-trace/catapult/third_party/coverage/coverage/ |
parser.py | 294 # Opcodes that unconditionally end the code chunk. 300 # Opcodes that unconditionally begin a new code chunk. By starting new chunks 411 """Split the code object into a list of `Chunk` objects. 413 Each chunk is only entered at its first instruction, though there can 414 be many exits from a chunk. 416 Returns a list of `Chunk` objects. 421 chunk = None 449 # Maybe have to start a new chunk. 453 # Start a new chunk for each source line number. 459 # chunk when we get to a place some bytecode jumps to [all...] |
/external/clang/lib/Sema/ |
CodeCompleteConsumer.cpp | 81 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text) 155 CodeCompletionString::Chunk 156 CodeCompletionString::Chunk::CreateText(const char *Text) { 157 return Chunk(CK_Text, Text); 160 CodeCompletionString::Chunk 161 CodeCompletionString::Chunk::CreateOptional(CodeCompletionString *Optional) { 162 Chunk Result; 168 CodeCompletionString::Chunk 169 CodeCompletionString::Chunk::CreatePlaceholder(const char *Placeholder) [all...] |
SemaTemplateVariadic.cpp | 748 const DeclaratorChunk &Chunk = D.getTypeObject(I); 749 switch (Chunk.Kind) { 758 if (Chunk.Arr.NumElts && 759 Chunk.Arr.NumElts->containsUnexpandedParameterPack()) 763 for (unsigned i = 0, e = Chunk.Fun.NumParams; i != e; ++i) { 764 ParmVarDecl *Param = cast<ParmVarDecl>(Chunk.Fun.Params[i].Param); 770 if (Chunk.Fun.getExceptionSpecType() == EST_Dynamic) { 771 for (unsigned i = 0; i != Chunk.Fun.NumExceptions; ++i) { 772 if (Chunk.Fun.Exceptions[i] 777 } else if (Chunk.Fun.getExceptionSpecType() == EST_ComputedNoexcept & [all...] |
/frameworks/av/include/media/stagefright/ |
MPEG4Writer.h | 118 struct Chunk { 124 Chunk(): mTrack(NULL), mTimeStampUs(0) {} 126 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) 133 List<Chunk> mChunks; // Remaining chunks to be written 135 // Previous chunk timestamp that has been written 146 List<ChunkInfo> mChunkInfos; // Chunk infos 155 // Buffer a single chunk to be written out later. 156 void bufferChunk(const Chunk& chunk); 161 // Retrieve the proper chunk to write if there is on [all...] |
/frameworks/base/core/java/android/util/jar/ |
StrictJarManifest.java | 50 static final class Chunk { 54 Chunk(int start, int end) { 60 private HashMap<String, Chunk> chunks; 107 chunks = new HashMap<String, Chunk>(); 232 Chunk getChunk(String name) {
|
/frameworks/base/libs/hwui/ |
DisplayList.h | 130 struct Chunk { 139 // whether children with non-zero Z in the chunk should be reordered 152 const LsaVector<Chunk>& getChunks() const { return chunks; } 184 LsaVector<Chunk> chunks;
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
rtcp_packet.h | 208 // chunk | SSRC/CSRC_1 | 213 // chunk | SSRC/CSRC_2 | 235 struct Chunk { 252 std::vector<Chunk> chunks_;
|