/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/chromium-trace/catapult/telemetry/third_party/webpagereplay/third_party/dns/ |
D | ipv6.py | 37 chunks = [] 48 chunks.append(chunk) 58 if chunks[i] != '0': 78 best_len == 5 and chunks[5] == 'ffff'): 86 hex = ':'.join(chunks[:best_start]) + '::' + \ 87 ':'.join(chunks[best_start + best_len:]) 89 hex = ':'.join(chunks) 133 chunks = text.split(':') 134 l = len(chunks) 139 for c in chunks:
|
D | rdata.py | 52 chunks = [] 55 chunks.append(hex[i : i + chunksize]) 57 hex = ' '.join(chunks) 79 chunks = [] 82 chunks.append(b64[i : i + chunksize]) 84 b64 = ' '.join(chunks) 326 chunks = [] 331 chunks.append(token.value) 332 hex = ''.join(chunks)
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/glacier/ |
D | test_utils.py | 67 chunks = chunk_hashes(b'a' * (2 * 1024 * 1024)) 68 self.assertEqual(len(chunks), 2) 69 self.assertEqual(chunks[0], sha256(b'a' * 1024 * 1024).digest()) 73 chunks = chunk_hashes(bytestring) 74 self.assertEqual(len(chunks), 3) 75 self.assertEqual(chunks[0], sha256(b'a' * 1024 * 1024).digest()) 76 self.assertEqual(chunks[1], sha256(b'a' * 1024 * 1024).digest()) 77 self.assertEqual(chunks[2], sha256(b'a' * 20).digest()) 80 chunks = chunk_hashes(b'aaaa') 81 self.assertEqual(len(chunks), 1) [all …]
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
D | HttpChunkedResponseTest.java | 48 String[] chunks; field in HttpChunkedResponseTest.ChunkedInputStream 50 private ChunkedInputStream(String[] chunks) { in ChunkedInputStream() argument 51 this.chunks = chunks; in ChunkedInputStream() 57 for (int i = 0; i < this.chunks[this.chunk].length(); ++i) { in read() 58 buffer[i] = (byte) this.chunks[this.chunk].charAt(i); in read() 60 return this.chunks[this.chunk++].length(); in read()
|
/external/chromium-trace/catapult/third_party/coverage/coverage/ |
D | parser.py | 420 chunks = [] 470 if not chunks: 474 chunks.append(chunk) 516 if chunks: 526 if chunks[-1].byte != penult.offset: 529 last_chunk = chunks[-1] 536 chunks.append(chunk) 539 chunks[-1].length = bc.next_offset - chunks[-1].byte 540 for i in range(len(chunks)-1): 541 chunks[i].length = chunks[i+1].byte - chunks[i].byte [all …]
|
/external/testng/doc/ |
D | prettify.js | 227 var chunks = new Array(); 252 chunks.push(new PR_Token(s.substring(start, pos), PR_PLAIN)); 254 chunks.push(new PR_Token(s.substring(pos, i + 1), null)); 263 chunks.push(new PR_Token(s.substring(start, s.length), PR_PLAIN)); 265 return chunks; 271 function PR_splitEntities(chunks) { argument 274 for (var ci = 0, nc = chunks.length; ci < nc; ++ci) { 275 var chunk = chunks[ci]; 323 function PR_splitChunks(chunks, tokenEnds) { argument 349 if (ci < chunks.length) { chunk = chunks[ci++]; } [all …]
|
/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 …]
|
/external/chromium-trace/catapult/third_party/vinn/vinn/ |
D | html_to_js_generator.js | 77 generateJsFromJsChunks(chunks) { argument 79 chunks.sort(function(a, b) { 83 for (var i = 0; i < chunks.length; i++) { 85 chunks[i].expected_start_line_number - current_num_lines); 88 chunks[i].content + '\n. Expected to add ' + 93 results.push(chunks[i].content); 96 this.getNumLinesOfString(chunks[i].content)); 163 var chunks = this.generateJsChunksForNode(node); 164 generated_js_chunks.push.apply(generated_js_chunks, chunks);
|
/external/libdrm/amdgpu/ |
D | amdgpu_cs.c | 150 struct drm_amdgpu_cs_chunk *chunks; in amdgpu_cs_submit_one() local 168 chunks = alloca(sizeof(struct drm_amdgpu_cs_chunk) * size); in amdgpu_cs_submit_one() 175 cs.in.chunks = (uint64_t)(uintptr_t)chunk_array; in amdgpu_cs_submit_one() 183 chunk_array[i] = (uint64_t)(uintptr_t)&chunks[i]; in amdgpu_cs_submit_one() 184 chunks[i].chunk_id = AMDGPU_CHUNK_ID_IB; in amdgpu_cs_submit_one() 185 chunks[i].length_dw = sizeof(struct drm_amdgpu_cs_chunk_ib) / 4; in amdgpu_cs_submit_one() 186 chunks[i].chunk_data = (uint64_t)(uintptr_t)&chunk_data[i]; in amdgpu_cs_submit_one() 203 chunk_array[i] = (uint64_t)(uintptr_t)&chunks[i]; in amdgpu_cs_submit_one() 204 chunks[i].chunk_id = AMDGPU_CHUNK_ID_FENCE; in amdgpu_cs_submit_one() 205 chunks[i].length_dw = sizeof(struct drm_amdgpu_cs_chunk_fence) / 4; in amdgpu_cs_submit_one() [all …]
|
/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/snakeyaml/src/main/java/org/yaml/snakeyaml/scanner/ |
D | ScannerImpl.java | 1568 StringBuilder chunks = new StringBuilder(); in scanBlockScalar() local 1602 chunks.append(breaks); in scanBlockScalar() 1608 chunks.append(reader.prefixForward(length)); in scanBlockScalar() 1621 chunks.append(" "); in scanBlockScalar() 1624 chunks.append(lineBreak); in scanBlockScalar() 1634 chunks.append(lineBreak); in scanBlockScalar() 1637 chunks.append(breaks); in scanBlockScalar() 1640 return new ScalarToken(chunks.toString(), false, startMark, endMark, style); in scanBlockScalar() 1751 StringBuilder chunks = new StringBuilder(); in scanBlockScalarIndentation() local 1761 chunks.append(scanLineBreak()); in scanBlockScalarIndentation() [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/opencv3/samples/python2/ |
D | video.py | 142 chunks = source.split(':') 144 if len(chunks) > 1 and len(chunks[0]) == 1 and chunks[0].isalpha(): 145 chunks[1] = chunks[0] + ':' + chunks[1] 146 del chunks[0] 148 source = chunks[0] 151 params = dict( s.split('=') for s in chunks[1:] )
|
D | find_obj.py | 26 chunks = name.split('-') 27 if chunks[0] == 'sift': 30 elif chunks[0] == 'surf': 33 elif chunks[0] == 'orb': 36 elif chunks[0] == 'akaze': 39 elif chunks[0] == 'brisk': 44 if 'flann' in chunks:
|
/external/testng/src/main/java/org/testng/mustache/ |
D | Mustache.java | 18 List<BaseChunk> chunks = Lists.newArrayList(); in run() local 57 chunks.add(new StringChunk(model, r)); in run() 66 chunks.add(new StringChunk(model, r)); in run() 71 chunks.add(new VariableChunk(model, variable)); in run() 78 chunks.add(new StringChunk(model, "" + template.charAt(ti))); in run() 86 for (BaseChunk bc : chunks) { in run() 90 for (BaseChunk bc : chunks) { in run()
|
/external/libweave/third_party/modp_b64/ |
D | modp_b64.cc | 136 size_t chunks = (leftover == 0) ? len / 4 - 1 : len /4; in modp_b64_decode() local 143 for (i = 0; i < chunks; ++i) { in modp_b64_decode() 162 return (chunks+1)*3; in modp_b64_decode() 180 return 3*chunks + (6*leftover)/8; in modp_b64_decode() 206 size_t chunks = (leftover == 0) ? len / 4 - 1 : len /4; in modp_b64_decode() local 211 for (i = 0; i < chunks; ++i, y += 4) { in modp_b64_decode() 227 return (chunks+1)*3; in modp_b64_decode() 246 return 3*chunks + (6*leftover)/8; in modp_b64_decode()
|
/external/modp_b64/ |
D | modp_b64.cc | 140 size_t chunks = (leftover == 0) ? len / 4 - 1 : len /4; in modp_b64_decode() local 147 for (i = 0; i < chunks; ++i) { in modp_b64_decode() 166 return (chunks+1)*3; in modp_b64_decode() 184 return 3*chunks + (6*leftover)/8; in modp_b64_decode() 210 size_t chunks = (leftover == 0) ? len / 4 - 1 : len /4; in modp_b64_decode() local 217 for (i = 0; i < chunks; ++i) { in modp_b64_decode() 241 return (chunks+1)*3; in modp_b64_decode() 262 return 3*chunks + (6*leftover)/8; in modp_b64_decode()
|
/external/libdrm/radeon/ |
D | radeon_cs_gem.c | 78 struct drm_radeon_cs_chunk chunks[2]; member 166 csg->chunks[0].chunk_id = RADEON_CHUNK_ID_IB; in cs_gem_create() 167 csg->chunks[0].length_dw = 0; in cs_gem_create() 168 csg->chunks[0].chunk_data = (uint64_t)(uintptr_t)csg->base.packets; in cs_gem_create() 169 csg->chunks[1].chunk_id = RADEON_CHUNK_ID_RELOCS; in cs_gem_create() 170 csg->chunks[1].length_dw = 0; in cs_gem_create() 171 csg->chunks[1].chunk_data = (uint64_t)(uintptr_t)csg->relocs; in cs_gem_create() 260 csg->chunks[1].chunk_data = (uint64_t)(uintptr_t)csg->relocs; in cs_gem_write_reloc() 269 csg->chunks[1].length_dw += RELOC_SIZE; in cs_gem_write_reloc() 440 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()
|
/external/chromium-trace/catapult/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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/glacier/ |
D | utils.py | 132 chunks = [] 141 chunks.append(hashlib.sha256(chunk).digest()) 143 if not chunks: 144 chunks = [hashlib.sha256(b'').digest()] 145 return linear_hash.hexdigest(), bytes_to_hex(tree_hash(chunks))
|
/external/snakeyaml/src/test/java/org/pyyaml/ |
D | CanonicalScanner.java | 245 StringBuilder chunks = new StringBuilder(); in scanScalar() local 251 chunks.append(data.substring(start, index)); in scanScalar() 260 chunks.append(String.valueOf((char) code)); in scanScalar() 266 chunks.append(QUOTE_REPLACES.get(ch)); in scanScalar() 270 chunks.append(data.substring(start, index)); in scanScalar() 271 chunks.append(" "); in scanScalar() 283 chunks.append(data.substring(start, index)); in scanScalar() 285 return new ScalarToken(chunks.toString(), mark, mark, false); in scanScalar()
|
/external/pdfium/third_party/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()
|