/external/chromium/chrome/browser/safe_browsing/ |
chunk_range_unittest.cc | 12 std::vector<int> chunks; local 16 chunks.push_back(1); 17 chunks.push_back(2); 18 chunks.push_back(3); 19 chunks.push_back(4); 20 chunks.push_back(7); 21 ChunksToRangeString(chunks, &range_string); 24 chunks.clear(); 28 chunks.push_back(3); 29 chunks.push_back(4) 138 std::vector<int> chunks; local [all...] |
protocol_parser_unittest.cc | 20 SBChunkList chunks; local 25 "", "", &re_key, &chunks); 28 EXPECT_EQ(chunks.size(), 1U); 29 EXPECT_EQ(chunks[0].chunk_number, 1); 30 EXPECT_EQ(chunks[0].hosts.size(), 3U); 32 EXPECT_EQ(chunks[0].hosts[0].host, 0x61616161); 33 SBEntry* entry = chunks[0].hosts[0].entry; 38 EXPECT_EQ(chunks[0].hosts[1].host, 0x31313131); 39 entry = chunks[0].hosts[1].entry; 47 EXPECT_EQ(chunks[0].hosts[2].host, 0x37373737) 73 SBChunkList chunks; local 104 SBChunkList chunks; local 166 SBChunkList chunks; local 194 SBChunkList chunks; local 210 SBChunkList chunks; local 250 SBChunkList chunks; local 311 SBChunkList chunks; local 668 SBChunkList chunks; local 715 SBChunkList chunks; local 824 SBChunkList chunks; local 842 SBChunkList chunks; local 880 SBChunkList chunks; local 905 SBChunkList chunks; local [all...] |
safe_browsing_database_unittest.cc | 294 SBChunkList chunks; local 299 chunks.clear(); 300 chunks.push_back(chunk); 303 database_->InsertChunks(safe_browsing_util::kMalwareList, chunks); 308 chunks.clear(); 309 chunks.push_back(chunk); 310 database_->InsertChunks(safe_browsing_util::kMalwareList, chunks); 315 chunks.clear(); 316 chunks.push_back(chunk); 317 database_->InsertChunks(safe_browsing_util::kMalwareList, chunks); 394 SBChunkList chunks; local 457 SBChunkList chunks; local 712 SBChunkList chunks; local 814 SBChunkList chunks; local 876 SBChunkList chunks; local 1084 SBChunkList chunks; local 1154 SBChunkList chunks; local 1267 SBChunkList chunks; local 1363 SBChunkList chunks; local 1465 SBChunkList chunks; local 1495 SBChunkList chunks; local [all...] |
chunk_range.h | 8 // and ranges of numbers corresponding to chunks of whitelists and blacklists. 47 std::vector<int>* chunks); 55 // Convenience for going from a list of chunks to a string in protocol 57 void ChunksToRangeString(const std::vector<int>& chunks, std::string* result);
|
chunk_range.cc | 28 void ChunksToRangeString(const std::vector<int>& chunks, std::string* result) { 30 std::vector<int> sorted_chunks(chunks); 56 std::vector<int>* chunks) { 57 DCHECK(chunks); 61 chunks->push_back(chunk);
|
safe_browsing_store_unittest_helper.cc | 31 std::vector<int> chunks; local 32 store->GetAddChunks(&chunks); 33 EXPECT_TRUE(chunks.empty()); 34 store->GetSubChunks(&chunks); 35 EXPECT_TRUE(chunks.empty()); 82 std::vector<int> chunks; local 83 store->GetAddChunks(&chunks); 84 ASSERT_EQ(1U, chunks.size()); 85 EXPECT_EQ(kAddChunk1, chunks[0]); 87 store->GetSubChunks(&chunks); [all...] |
safe_browsing_database.h | 116 // db.InsertChunks(list_name, chunks); 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); 292 // For browsing related (phishing and malware URLs) chunks and prefixes. 296 // For download related (download URL and binary hash) chunks and prefixes. 300 // For the client-side phishing detection whitelist chunks and full-length 341 // Set to true if any chunks are added or deleted during an update.
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
ChunkedIntArray.java | 45 static final int lowbits=10; // How many bits address within chunks 49 ChunksVector chunks=new ChunksVector(); field in class:ChunkedIntArray 63 chunks.addElement(fastArray); 92 if (chunkpos > chunks.size() - 1) 93 chunks.addElement(new int[chunkalloc]); 94 int[] chunk = chunks.elementAt(chunkpos); 126 int[] chunk = chunks.elementAt(chunkpos); 148 int[] chunk = chunks.elementAt(chunkpos); 207 int[] chunk = chunks.elementAt(chunkpos); 228 if (chunkpos > chunks.size() - 1 [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
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) 119 if (index === chunks.length) { 123 var chunk = chunks[index++]; 132 this._formatChunks(chunks, index, callback) [all...] |
/system/core/libsparse/ |
sparse.c | 84 unsigned int chunks = 0; local 89 /* If there is a gap between chunks, add a skip chunk */ 90 chunks++; 92 chunks++; 97 chunks++; 100 return chunks; 155 int chunks; local 158 chunks = sparse_count_chunks(s); 159 out = output_file_open_fd(fd, s->block_size, s->len, gz, sparse, chunks, crc); 175 int chunks; local 202 int chunks = sparse_count_chunks(s); local [all...] |
output_file.h | 25 int gz, int sparse, int chunks, int crc); 28 int chunks, int crc);
|
/system/core/libcutils/tests/memset_mips/ |
memset_cmips.S | 95 andi t8,a2,0x3f # any 64-byte chunks? 96 # t8 is the byte count past 64-byte chunks 97 beq a2,t8,.Lchk8w # when a2==t8, no 64-byte chunks 100 # Here a3 counts bytes in 16w chunks 101 addu a3,a0,a3 # Now a3 is the final dst after 64-byte chunks 103 # Find out, if there are any 64-byte chunks after which will be still at least 113 andi t6,t7,0x3f # t6 is past "64-byte safe chunks" reminder 115 # Here t5 counts bytes in 16w "safe" chunks 116 addu t4,a0,t5 # Now t4 is the dst after 64-byte "safe" chunks 157 beq a0,a3,.Lchk8w # maybe no more 64-byte chunks [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
WriterToUTF8Buffered.java | 197 * Cut the buffer up into chunks, each of which will 203 final int chunks; local 205 chunks = split + 1; 207 chunks = split; 209 for (int chunk = 1; chunk <= chunks; chunk++) 212 end_chunk = start + (int) ((((long) length) * chunk) / chunks); 334 * so break it up in chunks that don't exceed the buffer size. 338 final int chunks; local 340 chunks = split + 1; 342 chunks = split [all...] |
/bootable/recovery/applypatch/ |
imgdiff.c | 19 * and recovery.img -- that consist primarily of large chunks of gzipped 26 * chunks of two types: "normal" and "gzip". Normal chunks are simply 27 * patched using a plain bsdiff. Gzip chunks are first expanded, then a 29 * gzipped using the same encoder parameters. Patched chunks are 43 * chunks, followed by N bsdiff patches, one per chunk. 47 * chunks in the same order. Android boot and recovery images currently 48 * consist of five chunks: a small normal header, a gzipped kernel, a 103 * including the gzip header and footer for gzip chunks. "source 141 unsigned char* data; // data to be patched (uncompressed, for deflate chunks) [all...] |
/external/valgrind/main/memcheck/ |
mc_malloc_wrappers.c | 621 mp->chunks = VG_(HT_construct)( "MC_(create_mempool)" ); 656 // Clean up the chunks, one by one 657 VG_(HT_ResetIter)(mp->chunks); 658 while ( (mc = VG_(HT_Next)(mp->chunks)) ) { 664 VG_(HT_destruct)(mp->chunks, (void (*)(void *))delete_MC_Chunk); 685 MC_Chunk **chunks = (MC_Chunk**) VG_(HT_to_array)( mp->chunks, &n_chunks ); local 686 if (!chunks) 698 VG_(HT_ResetIter)(mp2->chunks); 699 while (VG_(HT_Next)(mp2->chunks)) { 825 VgHashNode** chunks; local [all...] |
mc_leakcheck.c | 66 // "chunks" are used interchangeably below. 183 // - Find all the blocks (a.k.a. chunks) to check. Mempool chunks require 243 /*--- Getting the initial chunks, and searching them. ---*/ 260 MC_Chunk** chunks, 269 a_lo = chunks[i]->data; 270 a_hi = ((Addr)chunks[i]->data) + chunks[i]->szB; 279 // chunks[i]. Return -1 if none found. This assumes that chunks[] 336 MC_Chunk **mallocs, **chunks, *mc; local 1543 MC_Chunk** chunks; local [all...] |
/external/chromium-trace/trace-viewer/build/ |
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)
|
/libcore/luni/src/main/java/java/util/jar/ |
InitManifest.java | 48 Map<String, Manifest.Chunk> chunks) throws IOException { 66 if (chunks != null) { 67 if (chunks.get(entryNameValue) != null) { 68 // TODO A bug: there might be several verification chunks for 71 // this: either use a list of chunks, or decide on used 72 // signature algorithm in advance and reread the chunks while 76 chunks.put(entryNameValue, new Manifest.Chunk(mark, pos));
|
Manifest.java | 75 private HashMap<String, Chunk> chunks; field in class:Manifest 118 chunks = new HashMap<String, Chunk>(); 218 im.initEntries(entries, chunks); 282 return chunks.get(name); 286 chunks = null;
|
/bionic/libc/arch-mips/string/ |
memset.S | 184 andi t8,a2,0x3f # any 64-byte chunks? 185 # t8 is the byte count past 64-byte chunks 186 beq a2,t8,.Lchk8w # when a2==t8, no 64-byte chunks 189 # Here a3 counts bytes in 16w chunks 190 addu a3,a0,a3 # Now a3 is the final dst after 64-byte chunks 192 # Find out, if there are any 64-byte chunks after which will be still at least 202 andi t6,t7,0x3f # t6 is past "64-byte safe chunks" reminder 204 # Here t5 counts bytes in 16w "safe" chunks 205 addu t4,a0,t5 # Now t4 is the dst after 64-byte "safe" chunks 246 beq a0,a3,.Lchk8w # maybe no more 64-byte chunks [all...] |
memcpy.S | 104 andi t8,a2,0x3f # any whole 64-byte chunks? 105 # t8 is the byte count after 64-byte chunks 107 beq a2,t8,.Lchk8w # if a2==t8, no 64-byte chunks 110 # Here a3 counts bytes in 16w chunks 111 addu a3,a0,a3 # Now a3 is the final dst after 64-byte chunks 214 andi a2,t8,0x3 # now a2 is the reminder past 1w chunks 216 subu a3,t8,a2 # a3 is count of bytes in 1w chunks 217 addu a3,a0,a3 # now a3 is the dst address past the 1w chunks 219 # copying in words (4-byte chunks) 259 andi t8,a2,0x3f # any whole 64-byte chunks [all...] |
/external/chromium/third_party/modp_b64/ |
modp_b64.cc | 138 int chunks = (leftover == 0) ? len / 4 - 1 : len /4; local 145 for (i = 0; i < chunks; ++i) { 164 return (chunks+1)*3; 182 return 3*chunks + (6*leftover)/8; 208 int chunks = (leftover == 0) ? len / 4 - 1 : len /4; local 215 for (i = 0; i < chunks; ++i) { 239 return (chunks+1)*3; 260 return 3*chunks + (6*leftover)/8;
|
/frameworks/base/services/java/com/android/server/updates/ |
SELinuxPolicyInstallReceiver.java | 80 int[] chunks = new int[4]; local 81 chunks[0] = readInt(bundle); 82 chunks[1] = readInt(bundle); 83 chunks[2] = readInt(bundle); 84 chunks[3] = readInt(bundle); 85 return chunks;
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
Target.java | 356 public List postProcessAction(List chunks, Token actionToken) { 357 return chunks;
|
/external/eigen/unsupported/test/mpreal/ |
dlmalloc.h | 73 MALLINFO_FIELD_TYPE ordblks; /* number of free chunks */
206 ordblks: the number of free chunks
228 independent_calloc(size_t n_elements, size_t element_size, void* chunks[]);
239 The "chunks" argument is optional (i.e., may be null, which is
242 no longer needed. Otherwise, the chunks array must be of at least
244 chunks.
247 null if the allocation failed. If n_elements is zero and "chunks"
282 independent_comalloc(size_t n_elements, size_t sizes[], void* chunks[]);
285 chunks with sizes indicated in the "sizes" array. It returns
292 The "chunks" argument is optional (i.e., may be null). If it is null [all...] |