HomeSort by relevance Sort by last modified time
    Searched defs:Chunk (Results 1 - 25 of 33) sorted by null

1 2

  /external/chromium_org/content/browser/speech/
chunked_byte_buffer.h 18 // Models a chunk-oriented byte buffer. The term chunk is herein defined as an
27 // [----- CHUNK 1 -------] [--- CHUNK 2 ---] [------ CHUNK 3 ------]
42 // If enough data is available, reads and removes the first complete chunk
43 // from the buffer. Returns a NULL pointer if no complete chunk is available.
53 struct Chunk {
54 Chunk();
55 ~Chunk();
    [all...]
chunked_byte_buffer.cc 32 : partial_chunk_(new Chunk()),
82 partial_chunk_.reset(new Chunk());
91 partial_chunk_.reset(new Chunk());
109 scoped_ptr<Chunk> chunk(*chunks_.begin());
111 DCHECK_EQ(chunk->header.size(), kHeaderLength);
112 DCHECK_EQ(chunk->content->size(), chunk->ExpectedContentLength());
113 total_bytes_stored_ -= chunk->content->size();
115 return chunk->content.Pass()
    [all...]
  /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/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...]
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/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...]
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...]
  /external/chromium_org/third_party/WebKit/Source/core/platform/
PODArena.h 135 m_chunks.append(adoptPtr(new Chunk(m_allocator.get(), m_currentChunkSize)));
149 // Manages a chunk of memory and individual allocations out of it.
150 class Chunk {
151 WTF_MAKE_NONCOPYABLE(Chunk);
155 Chunk(Allocator* allocator, size_t size)
165 virtual ~Chunk()
171 // Chunk could not satisfy the allocation.
194 Chunk* m_current;
196 Vector<OwnPtr<Chunk> > m_chunks;
  /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/chromium_org/third_party/WebKit/Source/wtf/dtoa/
bignum.h 99 typedef uint32_t Chunk;
102 static const int kChunkSize = sizeof(Chunk) * 8;
107 static const Chunk kBigitMask = (1 << kBigitSize) - 1;
127 Chunk BigitAt(int index) const;
130 Chunk bigits_buffer_[kBigitCapacity];
133 Vector<Chunk> bigits_;
  /external/chromium_org/v8/src/
bignum.h 97 typedef uint32_t Chunk;
100 static const int kChunkSize = sizeof(Chunk) * 8;
105 static const Chunk kBigitMask = (1 << kBigitSize) - 1;
125 Chunk BigitAt(int index) const;
128 Chunk bigits_buffer_[kBigitCapacity];
131 Vector<Chunk> bigits_;
  /external/qemu/distrib/sdl-1.2.15/src/audio/
SDL_wave.h 44 /* Not saved in the chunk we read:
56 /* The general chunk found in the WAVE file */
57 typedef struct Chunk {
61 } Chunk;
  /external/v8/src/
bignum.h 97 typedef uint32_t Chunk;
100 static const int kChunkSize = sizeof(Chunk) * 8;
105 static const Chunk kBigitMask = (1 << kBigitSize) - 1;
125 Chunk BigitAt(int index) const;
128 Chunk bigits_buffer_[kBigitCapacity];
131 Vector<Chunk> bigits_;
  /frameworks/compile/mclinker/include/mcld/Support/
Allocators.h 22 /** \class Chunk
23 * \brief Chunk is the basic unit of the storage of the LinearAllocator
28 class Chunk
33 Chunk()
49 Chunk* next;
55 class Chunk<DataType, 0>
61 Chunk()
69 ~Chunk() {
88 Chunk* next;
95 size_t Chunk<DataType, 0>::m_Size = 0
    [all...]
  /external/llvm/lib/Target/ARM/
Thumb1RegisterInfo.cpp 146 unsigned Chunk = ((1 << NumBits) - 1) * Scale;
149 unsigned ThisVal = (Bytes > Chunk) ? Chunk : Bytes;
154 Chunk = ((1 << NumBits) - 1) * Scale;
157 NumMIs += Bytes / Chunk;
158 if ((Bytes % Chunk) != 0)
238 unsigned Chunk = (1 << 3) - 1;
239 unsigned ThisVal = (Bytes > Chunk) ? Chunk : Bytes;
254 unsigned Chunk = ((1 << NumBits) - 1) * Scale
    [all...]
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/
parser.py 277 # Opcodes that unconditionally end the code chunk.
283 # Opcodes that unconditionally begin a new code chunk. By starting new chunks
409 """Split the code object into a list of `Chunk` objects.
411 Each chunk is only entered at its first instruction, though there can
412 be many exits from a chunk.
414 Returns a list of `Chunk` objects.
420 chunk = None
436 # Maybe have to start a new chunk
438 # Start a new chunk for each source line number.
439 if chunk
    [all...]
  /external/clang/lib/Sema/
CodeCompleteConsumer.cpp 82 CodeCompletionString::Chunk::Chunk(ChunkKind Kind, const char *Text)
156 CodeCompletionString::Chunk
157 CodeCompletionString::Chunk::CreateText(const char *Text) {
158 return Chunk(CK_Text, Text);
161 CodeCompletionString::Chunk
162 CodeCompletionString::Chunk::CreateOptional(CodeCompletionString *Optional) {
163 Chunk Result;
169 CodeCompletionString::Chunk
170 CodeCompletionString::Chunk::CreatePlaceholder(const char *Placeholder)
    [all...]
SemaTemplateVariadic.cpp 746 const DeclaratorChunk &Chunk = D.getTypeObject(I);
747 switch (Chunk.Kind) {
760 llvm_unreachable("Could not have seen this kind of declarator chunk");
763 if (Chunk.Mem.Scope().getScopeRep() &&
764 Chunk.Mem.Scope().getScopeRep()->containsUnexpandedParameterPack())
    [all...]
  /frameworks/av/include/media/stagefright/
MPEG4Writer.h 112 struct Chunk {
118 Chunk(): mTrack(NULL), mTimeStampUs(0) {}
120 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples)
127 List<Chunk> mChunks; // Remaining chunks to be written
129 // Previous chunk timestamp that has been written
140 List<ChunkInfo> mChunkInfos; // Chunk infos
149 // Buffer a single chunk to be written out later.
150 void bufferChunk(const Chunk& chunk);
155 // Retrieve the proper chunk to write if there is on
    [all...]
  /libcore/luni/src/main/java/java/util/jar/
Manifest.java 63 static class Chunk {
67 Chunk(int start, int end) {
73 private HashMap<String, Chunk> chunks;
116 chunks = new HashMap<String, Chunk>();
279 Chunk getChunk(String name) {
  /frameworks/av/libvideoeditor/vss/3gpwriter/inc/
M4MP4W_Types.h 195 M4OSA_UChar** Chunk;
237 M4OSA_UChar** Chunk;
  /external/chromium_org/third_party/libwebp/demux/
demux.c 37 size_t riff_end_; // riff chunk end location, can be > end_.
59 typedef struct Chunk {
61 struct Chunk* next_;
62 } Chunk;
75 Chunk* chunks_; // non-image chunks
131 // Return true if 'size' exceeds the end of the RIFF chunk.
177 // Secondary chunk parsing
179 static void AddChunk(WebPDemuxer* const dmux, Chunk* const chunk) {
180 Chunk** c = &dmux->chunks_
385 Chunk* const chunk = (Chunk*)calloc(1, sizeof(*chunk)); local
934 const Chunk* const chunk = GetChunk(dmux, fourcc, chunk_num); local
    [all...]
  /external/clang/include/clang/Sema/
CodeCompleteConsumer.h 382 struct Chunk {
389 /// CK_Informative, or CK_Comma chunk.
390 /// The string is owned by the chunk and will be deallocated
391 /// (with delete[]) when the chunk is destroyed.
394 /// \brief The code completion string associated with a CK_Optional chunk.
395 /// The optional code completion string is owned by the chunk, and will
396 /// be deallocated (with delete) when the chunk is destroyed.
400 Chunk() : Kind(CK_Text), Text(0) { }
402 explicit Chunk(ChunkKind Kind, const char *Text = "");
404 /// \brief Create a new text chunk
    [all...]

Completed in 769 milliseconds

1 2