/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
D | ChunkedIntArray.java | 49 ChunksVector chunks=new ChunksVector(); field in ChunkedIntArray 63 chunks.addElement(fastArray); in ChunkedIntArray() 92 if (chunkpos > chunks.size() - 1) in appendSlot() 93 chunks.addElement(new int[chunkalloc]); in appendSlot() 94 int[] chunk = chunks.elementAt(chunkpos); in appendSlot() 126 int[] chunk = chunks.elementAt(chunkpos); in readEntry() 148 int[] chunk = chunks.elementAt(chunkpos); in specialFind() 207 int[] chunk = chunks.elementAt(chunkpos); in writeEntry() 228 if (chunkpos > chunks.size() - 1) in writeSlot() 229 chunks.addElement(new int[chunkalloc]); in writeSlot() [all …]
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
D | HttpChunkedResponseTest.java | 44 String[] chunks; field in HttpChunkedResponseTest.ChunkedInputStream 46 private ChunkedInputStream(String[] chunks) { in ChunkedInputStream() argument 47 this.chunks = chunks; in ChunkedInputStream() 53 for (int i = 0; i < chunks[chunk].length(); ++i) { in read() 54 buffer[i] = (byte) chunks[chunk].charAt(i); in read() 56 return chunks[chunk++].length(); in read()
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
D | WriterToUTF8Buffered.java | 203 final int chunks; in write() local 205 chunks = split + 1; in write() 207 chunks = split; in write() 209 for (int chunk = 1; chunk <= chunks; chunk++) in write() 212 end_chunk = start + (int) ((((long) length) * chunk) / chunks); in write() 338 final int chunks; in write() local 340 chunks = split + 1; in write() 342 chunks = split; in write() 344 for (int chunk = 1; chunk <= chunks; chunk++) in write() 347 end_chunk = start + (int) ((((long) length) * chunk) / chunks); in write() [all …]
|
/external/valgrind/memcheck/ |
D | mc_malloc_wrappers.c | 257 if ( in_block_list (mp->chunks, mc) ) in live_block() 698 mp->chunks = VG_(HT_construct)( "MC_(create_mempool)" ); in MC_() 734 VG_(HT_ResetIter)(mp->chunks); in MC_() 735 while ( (mc = VG_(HT_Next)(mp->chunks)) ) { in MC_() 741 VG_(HT_destruct)(mp->chunks, (void (*)(void *))delete_MC_Chunk); in MC_() 762 MC_Chunk **chunks = (MC_Chunk**) VG_(HT_to_array)( mp->chunks, &n_chunks ); in check_mempool_sane() local 763 if (!chunks) in check_mempool_sane() 775 VG_(HT_ResetIter)(mp2->chunks); in check_mempool_sane() 776 while (VG_(HT_Next)(mp2->chunks)) { in check_mempool_sane() 789 VG_(ssort)((void*)chunks, n_chunks, sizeof(VgHashNode*), mp_compar); in check_mempool_sane() [all …]
|
D | mc_leakcheck.c | 262 MC_Chunk** chunks, in find_chunk_for_OLD() argument 271 a_lo = chunks[i]->data; in find_chunk_for_OLD() 272 a_hi = ((Addr)chunks[i]->data) + chunks[i]->szB; in find_chunk_for_OLD() 285 MC_Chunk** chunks, in find_chunk_for() argument 299 a_mid_lo = chunks[mid]->data; in find_chunk_for() 300 a_mid_hi = chunks[mid]->data + chunks[mid]->szB; in find_chunk_for() 307 if (chunks[mid]->szB == 0) in find_chunk_for() 324 tl_assert(retVal == find_chunk_for_OLD ( ptr, chunks, n_chunks )); in find_chunk_for() 338 MC_Chunk **mallocs, **chunks, *mc; in find_active_chunks() local 364 VG_(HT_ResetIter)(mp->chunks); in find_active_chunks() [all …]
|
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/vinn/ |
D | html_to_js_generator.js | 82 generateJsFromJsChunks(chunks) { argument 84 chunks.sort(function(a, b) { 88 for (var i = 0; i < chunks.length; i++) { 90 chunks[i].expected_start_line_number - current_num_lines); 93 chunks[i].content + '\n. Expected to add ' + 98 results.push(chunks[i].content); 101 this.getNumLinesOfString(chunks[i].content)); 168 var chunks = this.generateJsChunksForNode(node); 169 generated_js_chunks.push.apply(generated_js_chunks, chunks);
|
/external/fonttools/Lib/fontTools/ |
D | t1Lib.py | 207 chunks = findEncryptedChunks(data) 209 for isEncrypted, chunk in chunks: 224 chunks = findEncryptedChunks(data) 225 for isEncrypted, chunk in chunks: 241 chunks = findEncryptedChunks(data) 244 for isEncrypted, chunk in chunks: 257 chunks = findEncryptedChunks(data) 261 for isEncrypted, chunk in chunks: 292 chunks = findEncryptedChunks(data) 294 for isEncrypted, chunk in chunks: [all …]
|
/external/mesa3d/src/gallium/winsys/radeon/drm/ |
D | radeon_drm_cs.c | 116 csc->chunks[0].chunk_id = RADEON_CHUNK_ID_IB; in radeon_init_cs_context() 117 csc->chunks[0].length_dw = 0; in radeon_init_cs_context() 118 csc->chunks[0].chunk_data = (uint64_t)(uintptr_t)csc->buf; in radeon_init_cs_context() 119 csc->chunks[1].chunk_id = RADEON_CHUNK_ID_RELOCS; in radeon_init_cs_context() 120 csc->chunks[1].length_dw = 0; in radeon_init_cs_context() 121 csc->chunks[1].chunk_data = (uint64_t)(uintptr_t)csc->relocs; in radeon_init_cs_context() 122 csc->chunks[2].chunk_id = RADEON_CHUNK_ID_FLAGS; in radeon_init_cs_context() 123 csc->chunks[2].length_dw = 2; in radeon_init_cs_context() 124 csc->chunks[2].chunk_data = (uint64_t)(uintptr_t)&csc->flags; in radeon_init_cs_context() 126 csc->chunk_array[0] = (uint64_t)(uintptr_t)&csc->chunks[0]; in radeon_init_cs_context() [all …]
|
/external/libdrm/radeon/ |
D | radeon_cs_gem.c | 75 struct drm_radeon_cs_chunk chunks[2]; member 163 csg->chunks[0].chunk_id = RADEON_CHUNK_ID_IB; in cs_gem_create() 164 csg->chunks[0].length_dw = 0; in cs_gem_create() 165 csg->chunks[0].chunk_data = (uint64_t)(uintptr_t)csg->base.packets; in cs_gem_create() 166 csg->chunks[1].chunk_id = RADEON_CHUNK_ID_RELOCS; in cs_gem_create() 167 csg->chunks[1].length_dw = 0; in cs_gem_create() 168 csg->chunks[1].chunk_data = (uint64_t)(uintptr_t)csg->relocs; in cs_gem_create() 257 csg->chunks[1].chunk_data = (uint64_t)(uintptr_t)csg->relocs; in cs_gem_write_reloc() 266 csg->chunks[1].length_dw += RELOC_SIZE; in cs_gem_write_reloc() 437 csg->chunks[0].length_dw = cs->cdw; in cs_gem_emit() [all …]
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/ |
D | dxbc_assemble.cpp | 31 std::pair<void*, size_t> dxbc_assemble(struct dxbc_chunk_header** chunks, unsigned num_chunks) in dxbc_assemble() argument 35 data_size += sizeof(uint32_t) + sizeof(dxbc_chunk_header) + bswap_le32(chunks[i]->size); in dxbc_assemble() 53 unsigned chunk_full_size = sizeof(dxbc_chunk_header) + bswap_le32(chunks[i]->size); in dxbc_assemble() 54 memcpy((char*)header + off, chunks[i], chunk_full_size); in dxbc_assemble()
|
D | dxbc_dump.cpp | 34 for(unsigned i = 0; i < container.chunks.size(); ++i) in operator <<() 36 struct dxbc_chunk_header* chunk = container.chunks[i]; in operator <<()
|
/external/chromium-trace/trace-viewer/third_party/Paste/paste/util/ |
D | scgiserver.py | 85 chunks = [] 87 chunks.append(data) 108 chunks.append(data) 115 chunks = ["XXX start_response never called"] 124 for data in chunks:
|
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/ |
D | cmserr.c | 185 …ctx ->chunks[MemPlugin] = _cmsSubAllocDup(ctx ->MemPool, src ->chunks[MemPlugin], sizeof(_cmsMemPl… 190 ctx ->chunks[MemPlugin] = &ctx ->DefaultMemoryManager; 235 ctx->chunks[MemPlugin] = (void*) &ctx->DefaultMemoryManager; 317 …ctx ->chunks[MemPlugin] = _cmsSubAllocDup(ctx ->MemPool, src ->chunks[MemPlugin], sizeof(_cmsMemPl… in _cmsAllocMemPluginChunk() 322 ctx ->chunks[MemPlugin] = &ctx ->DefaultMemoryManager; in _cmsAllocMemPluginChunk() 510 from = src ->chunks[Logger]; in _cmsAllocLogErrorChunk() 516 ctx ->chunks[Logger] = _cmsSubAllocDup(ctx ->MemPool, from, sizeof(_cmsLogErrorChunkType)); in _cmsAllocLogErrorChunk() 631 from = src ->chunks[MutexPlugin]; in _cmsAllocMutexPluginChunk() 637 …ctx ->chunks[MutexPlugin] = _cmsSubAllocDup(ctx ->MemPool, from, sizeof(_cmsMutexPluginChunkType))… in _cmsAllocMutexPluginChunk()
|
D | cmsplugin.c | 698 ptr = ctx ->chunks[mc]; in _cmsContextGetClientChunk() 705 return globalContext.chunks[mc]; in _cmsContextGetClientChunk() 763 fakeContext.chunks[UserPtr] = UserData; in cmsCreateContext() 764 fakeContext.chunks[MemPlugin] = &fakeContext.DefaultMemoryManager; in cmsCreateContext() 783 ctx ->chunks[UserPtr] = UserData; in cmsCreateContext() 784 ctx ->chunks[MemPlugin] = &ctx->DefaultMemoryManager; in cmsCreateContext() 828 void* userData = (NewUserData != NULL) ? NewUserData : src -> chunks[UserPtr]; in cmsDupContext() 844 ctx ->chunks[UserPtr] = userData; in cmsDupContext() 845 ctx ->chunks[MemPlugin] = &ctx->DefaultMemoryManager; in cmsDupContext() 873 if (src ->chunks[i] == NULL) { in cmsDupContext() [all …]
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
D | PythonTarget.java | 90 public List postProcessAction(List chunks, Token actionToken) { in postProcessAction() argument 106 for (int i = 0; i < chunks.size(); i++) { in postProcessAction() 107 Object chunk = chunks.get(i); in postProcessAction() 110 String text = (String)chunks.get(i); in postProcessAction()
|
D | CodeGenerator.java | 531 List chunks = translateAction(ruleName,actionAST); in translateActionAttributeReferencesForSingleScope() local 532 scopeActions.put(name, chunks); // replace with translation in translateActionAttributeReferencesForSingleScope() 897 List chunks = translator.translateToChunks(); in translateAction() local 898 chunks = target.postProcessAction(chunks, actionTree.token); in translateAction() 899 return chunks; in translateAction() 921 List chunks = translator.translateToChunks(); in translateArgAction() local 922 chunks = target.postProcessAction(chunks, actionToken); in translateArgAction() 924 catST.add("chunks", chunks); in translateArgAction()
|
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng_util.cpp | 63 std::vector<std::vector<unsigned char> > chunks[3], in getChunks() 96 chunks[location].push_back(std::vector<unsigned char>(chunk, next)); in getChunks() 106 const std::vector<std::vector<unsigned char> > chunks[3]) in insertChunks() 144 …for(size_t i = 0; i < chunks[0].size(); i++) result.insert(result.end(), chunks[0][i].begin(), chu… in insertChunks() 146 …for(size_t i = 0; i < chunks[1].size(); i++) result.insert(result.end(), chunks[1][i].begin(), chu… in insertChunks() 148 …for(size_t i = 0; i < chunks[2].size(); i++) result.insert(result.end(), chunks[2][i].begin(), chu… in insertChunks()
|
D | lodepng_util.h | 62 std::vector<std::vector<unsigned char> > chunks[3], 74 const std::vector<std::vector<unsigned char> > chunks[3]);
|
/external/v8/src/ |
D | liveedit-debugger.js | 118 chunks: diff_array property 448 var chunks = new Array(); 455 chunks.push(new DiffChunk(pos1_begin, pos2_begin, pos1_end - pos1_begin, 459 this.chunks = chunks; 462 return this.chunks; 466 var array = this.chunks; 576 function MarkChangedFunctions(code_info_tree, chunks) { argument 583 this.current = function() { return chunks[chunk_index]; }; 585 var chunk = chunks[chunk_index]; 589 this.done = function() { return chunk_index >= chunks.length; };
|
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/ |
D | ActionTranslator.g | 49 public List chunks = new ArrayList(); 90 return chunks; 95 //System.out.println("chunks="+a.chunks); 169 chunks.add(st); 604 chunks.add(getText()); 679 chunks.add(st); 695 chunks.add(st); 755 ESC : '\\' '$' {chunks.add("\$");} 756 | '\\' '%' {chunks.add("\%");} 757 | '\\' ~('$'|'%') {chunks.add(getText());} [all …]
|
/external/iptables/extensions/ |
D | libxt_sctp.c | 158 const char *chunks) in parse_sctp_chunk() argument 166 buffer = strdup(chunks); in parse_sctp_chunk() 229 const char *chunks) in parse_sctp_chunks() argument 231 DEBUGP("Match type: %s Chunks: %s\n", match_type, chunks); in parse_sctp_chunks() 244 parse_sctp_chunk(einfo, chunks); in parse_sctp_chunks()
|
/external/libpng/contrib/libtests/ |
D | pngimage.c | 514 png_uint_32 chunks; member 594 dp->chunks = 0; in display_clean() 858 dp->chunks = png_get_valid(pp, ip, 0xffffffff); in update_display() 859 if ((dp->chunks & PNG_INFO_IDAT) == 0) /* set by png_read_png */ in update_display() 876 png_uint_32 chunks = dp->chunks; in update_display() local 887 (transform_info[i].valid_chunks & chunks) != 0) && in update_display() 947 unsigned long chunks = in compare_read() local 950 if (chunks != dp->chunks) in compare_read() 952 (unsigned long)dp->chunks, chunks); in compare_read()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/gd3d11/ |
D | d3d11_misc.h | 40 static HRESULT dxbc_assemble_as_blob(struct dxbc_chunk_header** chunks, unsigned num_chunks, ID3D10… in dxbc_assemble_as_blob() argument 42 std::pair<void*, size_t> p = dxbc_assemble(chunks, num_chunks); in dxbc_assemble_as_blob()
|
/external/libpng/scripts/ |
D | pnglibconf.dfa | 63 # optional ('ancillary') chunks. This does not prevent PNG 64 # decoding but does change the libpng API because some chunks 376 # images or the size of data in ancilliary chunks. This does lead to 527 # non-IDAT chunks (zTXt, iTXt, iCCP, and unknown chunks). This feature 531 # Any chunks you are not interested in, you can undef here. The 550 # These options disable *all* the text chunks if turned off 559 # affect the API above. (Note: the list of chunks follows 702 # process at one time. The setting does not affect the size of IDAT chunks 707 # this to a value larger than the IDAT chunks typically encountered (it would 709 # of ZBUF_SIZE (the size of IDAT chunks written by libpng.) [all …]
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/include/ |
D | dxbc.h | 75 std::vector<dxbc_chunk_header*> chunks; member 123 std::pair<void*, size_t> dxbc_assemble(struct dxbc_chunk_header** chunks, unsigned num_chunks);
|