/external/yaffs2/yaffs2/ |
yaffs_checkptrw.c | 102 int chunk = i * dev->nChunksPerBlock; local 104 dev->readChunkWithTagsFromNAND(dev,chunk,NULL,&tags); 178 int chunk; local 196 /* First chunk we write for the block? Set block state to 203 chunk = dev->checkpointCurrentBlock * dev->nChunksPerBlock + dev->checkpointCurrentChunk; 205 dev->writeChunkWithTagsToNAND(dev,chunk,dev->checkpointBuffer,&tags); 259 int chunk; local 281 chunk = dev->checkpointCurrentBlock * dev->nChunksPerBlock + 284 /* read in the next chunk */ 286 dev->readChunkWithTagsFromNAND(dev, chunk, [all...] |
/frameworks/base/core/jni/android/graphics/ |
NinePatchImpl.cpp | 106 const SkBitmap& bitmap, const android::Res_png_9patch& chunk, 119 const int32_t* xDivs = chunk.getXDivs(); 120 const int32_t* yDivs = chunk.getYDivs(); 125 xDivs, chunk.numXDivs, 126 yDivs, chunk.numYDivs, 179 const uint8_t numXDivs = chunk.numXDivs; 180 const uint8_t numYDivs = chunk.numYDivs; 257 const uint32_t* colors = chunk.getColors();
|
BitmapFactory.cpp | 117 static void scaleNinePatchChunk(android::Res_png_9patch* chunk, float scale, 119 chunk->paddingLeft = int(chunk->paddingLeft * scale + 0.5f); 120 chunk->paddingTop = int(chunk->paddingTop * scale + 0.5f); 121 chunk->paddingRight = int(chunk->paddingRight * scale + 0.5f); 122 chunk->paddingBottom = int(chunk->paddingBottom * scale + 0.5f); 124 scaleDivRange(chunk->getXDivs(), chunk->numXDivs, scale, scaledWidth) [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
AbstractSessionInputBuffer.java | 144 int chunk = this.bufferlen - this.bufferpos; local 145 if (chunk > len) { 146 chunk = len; 148 System.arraycopy(this.buffer, this.bufferpos, b, off, chunk); 149 this.bufferpos += chunk; 150 return chunk;
|
/external/chromium_org/media/cast/net/rtcp/ |
rtcp_utility.cc | 33 base::BigEndianReader chunk(tmp.data(), tmp.size()); 37 if (!ParseSR(&chunk, header)) 42 if (!ParseRR(&chunk, header)) 47 if (!ParseApplicationDefined(&chunk, header)) 52 if (!ParseFeedbackCommon(&chunk, header)) 57 if (!ParseExtendedReport(&chunk, header))
|
/external/chromium_org/tools/grit/grit/ |
tclib.py | 57 for chunk in chunked_text: 58 if chunk: # ignore empty chunk 59 if tag_map.has_key(chunk): 60 self.AppendPlaceholder(tag_map[chunk][0]) 61 tag_map[chunk][1] += 1 # increase placeholder use count 63 self.AppendText(chunk)
|
/external/openssl/crypto/evp/ |
evp_locl.h | 113 size_t chunk=EVP_MAXCHUNK;\ 114 if (cbits==1) chunk>>=3;\ 115 if (inl<chunk) chunk=inl;\ 116 while(inl && inl>=chunk)\ 119 inl-=chunk;\ 120 in +=chunk;\ 121 out+=chunk;\ 122 if(inl<chunk) chunk=inl; [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
CodedInputStream.java | 774 // by allocating and reading only a small chunk at a time, so that the 793 final byte[] chunk = new byte[Math.min(sizeLeft, BUFFER_SIZE)]; 795 while (pos < chunk.length) { 797 input.read(chunk, pos, chunk.length - pos); 804 sizeLeft -= chunk.length; 805 chunks.add(chunk); 816 for (final byte[] chunk : chunks) { 817 System.arraycopy(chunk, 0, bytes, pos, chunk.length) [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
CodedInputStreamMicro.java | 710 // by allocating and reading only a small chunk at a time, so that the 731 final byte[] chunk = new byte[Math.min(sizeLeft, BUFFER_SIZE)]; 733 while (pos < chunk.length) { 735 input.read(chunk, pos, chunk.length - pos); 742 sizeLeft -= chunk.length; 743 chunks.addElement(chunk); 755 byte [] chunk = (byte [])chunks.elementAt(i); 756 System.arraycopy(chunk, 0, bytes, pos, chunk.length) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
encoder.py | 218 for chunk in JSONEncoder().iterencode(bigobject): 219 mysocket.write(chunk) 332 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 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
encoder.py | 218 for chunk in JSONEncoder().iterencode(bigobject): 219 mysocket.write(chunk) 332 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 [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/htmlfiles/ |
coverage_html.js | 183 // Find the start of the next colored chunk. 197 // There's a next chunk, `probe` points to it. 200 // Find the end of this chunk. 214 // Find the end of the prev colored chunk. 230 // There's a prev chunk, `probe` points to its last line. 233 // Find the beginning of this chunk. 302 // Select line number lineno, or if it is in a colored chunk, select the 303 // entire chunk 312 // The line is in a highlighted chunk. 345 // Highlight the lines in the chunk [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/ |
NinePatchedImage.java | 81 private final List<Chunk> mChunkBin = new ArrayList<Chunk>(CHUNK_BIN_SIZE); 89 private Chunk[][] mPatchChunks = null; 143 private Chunk getChunk() { 145 Chunk chunk = mChunkBin.remove(0); local 146 chunk.init(); 147 return chunk; 149 return new Chunk(); 152 private static final void recycleChunks(Chunk[][] patchChunks, List<Chunk> bin) 647 Chunk chunk = chunks[y][x]; local 765 Chunk chunk = mPatchChunks[yPos][xPos]; local 804 public Chunk chunk = null; field in class:NinePatchedImage.Projection [all...] |
/external/libpng/contrib/libtests/ |
pngunknown.c | 2 /* pngunknown.c - test the read side unknown chunk handling 33 /* Since this program tests the ability to change the unknown chunk handling 40 * still useful to set unknown chunk handling without either of these in order 98 /* Constants for known chunk types. 158 /* Chunk information */ 175 int unknown; /* Chunk not known to libpng */ 176 int all; /* Chunk set by the '-1' option */ 497 * returning '0' to keep the chunk and '1' to discard it. 500 int chunk = findb(pc->name); local 503 if (chunk < 0) /* not one in our list, so not a known chunk * 580 int chunk = findb(unknown[num_unknown].name); local 696 int chunk, option; local [all...] |
/system/media/audio_utils/ |
tinysndfile.c | 101 unsigned char chunk[8]; local 102 actual = fread(chunk, sizeof(char), sizeof(chunk), stream); 103 if (actual != sizeof(chunk)) { 104 fprintf(stderr, "actual %zu != %zu\n", actual, sizeof(chunk)); 108 unsigned chunkSize = little4u(&chunk[4]); 113 if (!memcmp(&chunk[0], "fmt ", 4)) { 190 } else if (!memcmp(&chunk[0], "data", 4)) { 202 } else if (!memcmp(&chunk[0], "fact", 4)) { 208 // ignore unknown chunk [all...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
InspectorHeapProfilerAgent.cpp | 142 virtual void write(const uint32_t* chunk, const int size) OVERRIDE 144 ASSERT(chunk); variable 146 m_heapProfilerAgent->pushHeapStatsUpdate(chunk, size); 265 void Write(const String& chunk) 267 m_frontend->addHeapSnapshotChunk(chunk);
|
/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/ |
sctp_auth.h | 105 #define sctp_auth_is_required_chunk(chunk, list) ((list == NULL) ? (0) : (list->chunks[chunk] != 0)) 116 extern int sctp_auth_add_chunk(uint8_t chunk, sctp_auth_chklist_t *list); 117 extern int sctp_auth_delete_chunk(uint8_t chunk, sctp_auth_chklist_t *list); 201 struct sctp_tcb *stcb, uint8_t chunk);
|
/external/chromium_org/v8/src/ |
lithium-codegen.cc | 39 return chunk()->graph(); 43 LCodeGenBase::LCodeGenBase(LChunk* chunk, 46 : chunk_(static_cast<LPlatformChunk*>(chunk)), 53 instructions_(chunk->instructions()), 95 chunk()->graph()->SourcePositionToScriptPosition(value->position()));
|
/external/fonttools/Lib/fontTools/misc/ |
xmlReader.py | 42 chunk = file.read(BUFSIZE) 43 if not chunk: 44 parser.Parse(chunk, 1) 46 pos = pos + len(chunk) 49 parser.Parse(chunk, 0)
|
/external/chromium_org/chrome/installer/linux/sysroot_scripts/ |
install-debian.wheezy.sysroot.py | 45 chunk = f.read(1024*1024) 46 if not chunk: 48 sha1.update(chunk)
|
/external/jdiff/src/jdiff/ |
CommentsHandler.java | 112 /** Deal with a chunk of text. The text may come in multiple chunks. */ 115 String chunk = new String(ch, start, length); local 117 currentText = chunk; 119 currentText += chunk;
|
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
HtmlPolicyBuilderFuzzerTest.java | 167 String chunk = pick(rnd, CHUNKS); local 169 int end = chunk.length(); 176 return chunk.substring(start, end);
|
/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...] |
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
JpegCompressor.cpp | 119 JSAMPROW chunk[kChunkSize]; local 121 chunk[i] = (JSAMPROW) 124 jpeg_write_scanlines(&mCInfo, chunk, kChunkSize);
|
/external/jemalloc/include/jemalloc/internal/ |
prof.h | 302 arena_chunk_t *chunk; local 307 chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(ptr); 308 if (chunk != ptr) { 320 arena_chunk_t *chunk; local 325 chunk = (arena_chunk_t *)CHUNK_ADDR2BASE(ptr); 326 if (chunk != ptr) {
|