/external/chromium/chrome/browser/safe_browsing/ |
D | chunk_range_unittest.cc | 12 std::vector<int> chunks; in TEST() local 16 chunks.push_back(1); in TEST() 17 chunks.push_back(2); in TEST() 18 chunks.push_back(3); in TEST() 19 chunks.push_back(4); in TEST() 20 chunks.push_back(7); in TEST() 21 ChunksToRangeString(chunks, &range_string); in TEST() 24 chunks.clear(); in TEST() 28 chunks.push_back(3); in TEST() 29 chunks.push_back(4); in TEST() [all …]
|
D | protocol_parser_unittest.cc | 20 SBChunkList chunks; in TEST() local 25 "", "", &re_key, &chunks); in TEST() 28 EXPECT_EQ(chunks.size(), 1U); in TEST() 29 EXPECT_EQ(chunks[0].chunk_number, 1); in TEST() 30 EXPECT_EQ(chunks[0].hosts.size(), 3U); in TEST() 32 EXPECT_EQ(chunks[0].hosts[0].host, 0x61616161); in TEST() 33 SBEntry* entry = chunks[0].hosts[0].entry; in TEST() 38 EXPECT_EQ(chunks[0].hosts[1].host, 0x31313131); in TEST() 39 entry = chunks[0].hosts[1].entry; in TEST() 47 EXPECT_EQ(chunks[0].hosts[2].host, 0x37373737); in TEST() [all …]
|
D | safe_browsing_database_unittest.cc | 294 SBChunkList chunks; in TEST_F() local 299 chunks.clear(); in TEST_F() 300 chunks.push_back(chunk); in TEST_F() 303 database_->InsertChunks(safe_browsing_util::kMalwareList, chunks); in TEST_F() 308 chunks.clear(); in TEST_F() 309 chunks.push_back(chunk); in TEST_F() 310 database_->InsertChunks(safe_browsing_util::kMalwareList, chunks); in TEST_F() 315 chunks.clear(); in TEST_F() 316 chunks.push_back(chunk); in TEST_F() 317 database_->InsertChunks(safe_browsing_util::kMalwareList, chunks); in TEST_F() [all …]
|
D | safe_browsing_store_unittest_helper.cc | 31 std::vector<int> chunks; in SafeBrowsingStoreTestEmpty() local 32 store->GetAddChunks(&chunks); in SafeBrowsingStoreTestEmpty() 33 EXPECT_TRUE(chunks.empty()); in SafeBrowsingStoreTestEmpty() 34 store->GetSubChunks(&chunks); in SafeBrowsingStoreTestEmpty() 35 EXPECT_TRUE(chunks.empty()); in SafeBrowsingStoreTestEmpty() 82 std::vector<int> chunks; in SafeBrowsingStoreTestStorePrefix() local 83 store->GetAddChunks(&chunks); in SafeBrowsingStoreTestStorePrefix() 84 ASSERT_EQ(1U, chunks.size()); in SafeBrowsingStoreTestStorePrefix() 85 EXPECT_EQ(kAddChunk1, chunks[0]); in SafeBrowsingStoreTestStorePrefix() 87 store->GetSubChunks(&chunks); in SafeBrowsingStoreTestStorePrefix() [all …]
|
D | chunk_range.cc | 28 void ChunksToRangeString(const std::vector<int>& chunks, std::string* result) { in ChunksToRangeString() argument 30 std::vector<int> sorted_chunks(chunks); in ChunksToRangeString() 56 std::vector<int>* chunks) { in RangesToChunks() argument 57 DCHECK(chunks); in RangesToChunks() 61 chunks->push_back(chunk); in RangesToChunks()
|
D | protocol_parser.cc | 257 SBChunkList* chunks) { in ParseChunk() argument 301 chunks->push_back(SBChunk()); in ParseChunk() 302 chunks->back().chunk_number = chunk_number; in ParseChunk() 305 chunks->back().is_add = true; in ParseChunk() 307 &chunks->back().hosts)) in ParseChunk() 310 chunks->back().is_add = false; in ParseChunk() 312 &chunks->back().hosts)) in ParseChunk()
|
D | chunk_range.h | 47 std::vector<int>* chunks); 57 void ChunksToRangeString(const std::vector<int>& chunks, std::string* result);
|
D | safe_browsing_database.h | 132 const SBChunkList& chunks) = 0; 220 const SBChunkList& chunks); 264 void InsertAddChunks(int list_id, const SBChunkList& chunks); 266 void InsertSubChunks(int list_id, const SBChunkList& chunks);
|
D | safe_browsing_database.cc | 170 void GetChunkRanges(const std::vector<int>& chunks, in GetChunkRanges() argument 175 for (std::vector<int>::const_iterator iter = chunks.begin(); in GetChunkRanges() 176 iter != chunks.end(); ++iter) { in GetChunkRanges() 771 const SBChunkList& chunks) { in InsertAddChunks() argument 777 for (SBChunkList::const_iterator citer = chunks.begin(); in InsertAddChunks() 778 citer != chunks.end(); ++citer) { in InsertAddChunks() 845 const SBChunkList& chunks) { in InsertSubChunks() argument 851 for (SBChunkList::const_iterator citer = chunks.begin(); in InsertSubChunks() 852 citer != chunks.end(); ++citer) { in InsertSubChunks() 870 const SBChunkList& chunks) { in InsertChunks() argument [all …]
|
/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/webkit/Source/WebCore/inspector/front-end/ |
D | ScriptFormatter.js | 80 var chunks = this._splitContentIntoChunks(text, scriptRanges); 84 var result = this._buildContentFromChunks(chunks); 87 this._formatChunks(chunks, 0, didFormatChunks.bind(this)); 92 var chunks = []; 100 chunks.push(chunk); 113 return chunks; 116 _formatChunks: function(chunks, index, callback) argument 119 if (index === chunks.length) { 123 var chunk = chunks[index++]; 132 this._formatChunks(chunks, index, callback); [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/main/memcheck/ |
D | mc_malloc_wrappers.c | 621 mp->chunks = VG_(HT_construct)( "MC_(create_mempool)" ); in MC_() 657 VG_(HT_ResetIter)(mp->chunks); in MC_() 658 while ( (mc = VG_(HT_Next)(mp->chunks)) ) { in MC_() 664 VG_(HT_destruct)(mp->chunks, (void (*)(void *))delete_MC_Chunk); in MC_() 685 MC_Chunk **chunks = (MC_Chunk**) VG_(HT_to_array)( mp->chunks, &n_chunks ); in check_mempool_sane() local 686 if (!chunks) in check_mempool_sane() 698 VG_(HT_ResetIter)(mp2->chunks); in check_mempool_sane() 699 while (VG_(HT_Next)(mp2->chunks)) { in check_mempool_sane() 712 VG_(ssort)((void*)chunks, n_chunks, sizeof(VgHashNode*), mp_compar); in check_mempool_sane() 716 if (chunks[i]->data > chunks[i+1]->data) { in check_mempool_sane() [all …]
|
D | mc_leakcheck.c | 260 MC_Chunk** chunks, in find_chunk_for_OLD() argument 269 a_lo = chunks[i]->data; in find_chunk_for_OLD() 270 a_hi = ((Addr)chunks[i]->data) + chunks[i]->szB; in find_chunk_for_OLD() 283 MC_Chunk** chunks, in find_chunk_for() argument 297 a_mid_lo = chunks[mid]->data; in find_chunk_for() 298 a_mid_hi = chunks[mid]->data + chunks[mid]->szB; in find_chunk_for() 305 if (chunks[mid]->szB == 0) in find_chunk_for() 322 tl_assert(retVal == find_chunk_for_OLD ( ptr, chunks, n_chunks )); in find_chunk_for() 336 MC_Chunk **mallocs, **chunks, *mc; in find_active_chunks() local 362 VG_(HT_ResetIter)(mp->chunks); in find_active_chunks() [all …]
|
/external/chromium/third_party/modp_b64/ |
D | modp_b64.cc | 138 int chunks = (leftover == 0) ? len / 4 - 1 : len /4; in modp_b64_decode() local 145 for (i = 0; i < chunks; ++i) { in modp_b64_decode() 164 return (chunks+1)*3; in modp_b64_decode() 182 return 3*chunks + (6*leftover)/8; in modp_b64_decode() 208 int chunks = (leftover == 0) ? len / 4 - 1 : len /4; in modp_b64_decode() local 215 for (i = 0; i < chunks; ++i) { in modp_b64_decode() 239 return (chunks+1)*3; in modp_b64_decode() 260 return 3*chunks + (6*leftover)/8; in modp_b64_decode()
|
/external/chromium-trace/trace-viewer/build/ |
D | generate_deps_js_contents.py | 48 chunks = [js_warning_message] 51 chunks.append("base.addModuleDependency(\n '%s',\n '%s');\n" % ( 55 chunks.append("base.addModuleStylesheet(\n '%s',\n '%s');\n" % ( 58 result = "".join(chunks)
|
/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/chromium/webkit/glue/ |
D | multipart_response_delegate_unittest.cc | 318 void VariousChunkSizesTest(const TestChunk chunks[], int chunks_size, in VariousChunkSizesTest() argument 338 ASSERT_TRUE(chunks[i].start_pos < chunks[i].end_pos); in VariousChunkSizesTest() 339 string chunk = data.substr(chunks[i].start_pos, in VariousChunkSizesTest() 340 chunks[i].end_pos - chunks[i].start_pos); in VariousChunkSizesTest() 345 EXPECT_EQ(chunks[i].expected_responses, client.received_response_); in VariousChunkSizesTest() 346 EXPECT_EQ(chunks[i].expected_received_data, client.received_data_); in VariousChunkSizesTest() 347 EXPECT_EQ(string(chunks[i].expected_data), client.data_); in VariousChunkSizesTest() 348 EXPECT_EQ(chunks[i].expected_encoded_data_length, in VariousChunkSizesTest()
|
/external/v8/src/ |
D | liveedit-debugger.js | 129 chunks: diff_array property 454 var chunks = new Array(); 461 chunks.push(new DiffChunk(pos1_begin, pos2_begin, pos1_end - pos1_begin, 465 this.chunks = chunks; 468 return this.chunks; 472 var array = this.chunks; 582 function MarkChangedFunctions(code_info_tree, chunks) { argument 589 this.current = function() { return chunks[chunk_index]; }; 591 var chunk = chunks[chunk_index]; 595 this.done = function() { return chunk_index >= chunks.length; };
|
/external/chromium/chrome/browser/bookmarks/ |
D | bookmark_index_unittest.cc | 74 std::vector<std::string> chunks; in ExtractMatchPositions() local 75 base::SplitString(match_strings[i], ',', &chunks); in ExtractMatchPositions() 76 ASSERT_EQ(2U, chunks.size()); in ExtractMatchPositions() 79 base::StringToInt(chunks[0], &chunks0); in ExtractMatchPositions() 80 base::StringToInt(chunks[1], &chunks1); in ExtractMatchPositions()
|
/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/eigen/unsupported/test/mpreal/ |
D | dlmalloc.h | 510 size_t elem_size, void* chunks[]); 517 size_t sizes[], void* chunks[]);
|
/external/openssl/crypto/ |
D | mem_dbg.c | 660 int chunks; member 704 l->chunks++; in print_leak_doall_arg() 767 ml.chunks=0; in IMPLEMENT_LHASH_DOALL_ARG_FN() 771 if (ml.chunks != 0) in IMPLEMENT_LHASH_DOALL_ARG_FN() 774 ml.bytes,ml.chunks); in IMPLEMENT_LHASH_DOALL_ARG_FN()
|