Searched refs:chunks (Results 76 - 100 of 136) sorted by relevance

123456

/external/chromium_org/third_party/usrsctp/usrsctplib/netinet/
H A Dsctp_auth.h75 /* authentication chunks list */
77 uint8_t chunks[256]; member in struct:sctp_auth_chklist
105 #define sctp_auth_is_required_chunk(chunk, list) ((list == NULL) ? (0) : (list->chunks[chunk] != 0))
/external/chromium_org/chrome/browser/safe_browsing/
H A Dsafe_browsing_database.cc195 // This function generates a chunk range string for |chunks|. It
198 // right size. E.g., if |chunks| contains chunks with two different
200 void GetChunkRanges(const std::vector<int>& chunks, argument
208 for (std::vector<int>::const_iterator iter = chunks.begin();
209 iter != chunks.end(); ++iter) {
880 const std::vector<SBChunkData*>& chunks) {
883 if (corruption_detected_ || chunks.empty())
900 for (size_t i = 0; i < chunks.size(); ++i) {
901 if (chunks[
878 InsertChunks( const std::string& list_name, const std::vector<SBChunkData*>& chunks) argument
[all...]
H A Dprotocol_manager.cc225 // do will report all the chunks we have. If that chunk is still
412 // New chunks to download.
438 chunks(new ScopedVector<SBChunkData>);
441 if (!safe_browsing::ParseChunk(data, length, chunks.get()))
444 // Chunks to add to storage. Pass ownership of |chunks|.
445 if (!chunks->empty()) {
448 chunk_url.list_name, chunks.Pass(),
530 // This request requires getting a list of all the chunks for each list from the
546 // The backup request can run immediately since the chunks have already been
606 // Format our stored chunks
[all...]
H A Dsafe_browsing_database.h148 // db.InsertChunks(list_name, chunks);
164 const std::vector<SBChunkData*>& chunks) = 0;
312 const std::vector<SBChunkData*>& chunks) OVERRIDE;
424 // For browsing related (phishing and malware URLs) chunks and prefixes.
427 // For download related (download URL and binary hash) chunks and prefixes.
430 // For the client-side phishing detection whitelist chunks and full-length
434 // For the download whitelist chunks and full-length hashes. This list only
464 // Set to true if any chunks are added or deleted during an update.
H A Ddatabase_manager.cc513 scoped_ptr<ScopedVector<SBChunkData> > chunks,
520 base::Passed(&chunks), callback));
852 scoped_ptr<ScopedVector<SBChunkData> > chunks,
856 if (chunks)
857 GetDatabase()->InsertChunks(list_name, chunks->get());
511 AddChunks( const std::string& list, scoped_ptr<ScopedVector<SBChunkData> > chunks, AddChunksCallback callback) argument
850 AddDatabaseChunks( const std::string& list_name, scoped_ptr<ScopedVector<SBChunkData> > chunks, AddChunksCallback callback) argument
H A Dprotocol_manager.h101 // Called by the SafeBrowsingService when our request for a list of all chunks
243 // Sends a request for a list of chunks we should download to the SafeBrowsing
250 // Sends a backup request for a list of chunks to download, when the primary
278 // Called after the chunks are added to the database.
300 // Current active request (in case we need to cancel) for updates or chunks
437 // Retrieve all the local database chunks, and invoke |callback| with the
443 // Add new chunks to the database. Invokes |callback| when complete, but must
446 scoped_ptr<ScopedVector<SBChunkData> > chunks,
449 // Delete chunks from the database.
H A Dsafe_browsing_store_file.cc193 // Delete the chunks in |deleted| from |chunks|.
195 std::set<int32>* chunks) {
196 for (std::set<int32>::iterator iter = chunks->begin();
197 iter != chunks->end();) {
200 chunks->erase(prev);
258 // Helper function to write out the initial header and chunks-contained data.
816 // Read update chunks.
877 // We no longer need to track deleted chunks.
194 DeleteChunksFromSet(const base::hash_set<int32>& deleted, std::set<int32>* chunks) argument
/external/pdfium/core/src/fxcodec/lcms2/lcms2-2.6/src/
H A Dcmsxform.c45 from = src ->chunks[AdaptationStateContext];
51 ctx ->chunks[AdaptationStateContext] = _cmsSubAllocDup(ctx ->MemPool, from, sizeof(_cmsAdaptationStateChunkType));
135 from = src ->chunks[AlarmCodesContext];
141 ctx ->chunks[AlarmCodesContext] = _cmsSubAllocDup(ctx ->MemPool, from, sizeof(_cmsAlarmCodesChunkType));
480 _cmsTransformPluginChunkType* head = (_cmsTransformPluginChunkType*) src->chunks[TransformPlugin];
503 ctx ->chunks[TransformPlugin] = _cmsSubAllocDup(ctx->MemPool, &newHead, sizeof(_cmsTransformPluginChunkType));
516 ctx ->chunks[TransformPlugin] = _cmsSubAllocDup(ctx ->MemPool, &TransformPluginChunkType, sizeof(_cmsTransformPluginChunkType));
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DCodedInputStream.java790 final List<byte[]> chunks = new ArrayList<byte[]>();
805 chunks.add(chunk);
815 // And now all the chunks.
816 for (final byte[] chunk : chunks) {
/external/zopfli/src/zopflipng/
H A Dzopflipng_lib.cc312 // Keeps chunks with given names from the original png by literally copying them
318 std::vector<std::vector<unsigned char> > chunks[3]; local
320 lodepng::getChunks(names, chunks, origpng);
323 // There are 3 distinct locations in a PNG file for chunks: between IHDR and
330 keepchunks[i].push_back(chunks[i][j]);
/external/chromium_org/base/debug/
H A Dtrace_event_unittest.cc1694 // in chunks or added all at once.
2501 scoped_ptr<TraceBufferChunk*[]> chunks(new TraceBufferChunk*[num_chunks]);
2503 chunks[i] = buffer->GetChunk(&chunk_index).release();
2504 EXPECT_TRUE(chunks[i]);
2506 EXPECT_GT(chunks[i]->seq(), last_seq);
2509 last_seq = chunks[i]->seq();
2515 // Return all chunks in original order.
2517 buffer->ReturnChunk(i, scoped_ptr<TraceBufferChunk>(chunks[i]));
2519 // Should recycle the chunks in the returned order.
2521 chunks[
[all...]
/external/chromium_org/chrome/browser/policy/
H A Dpolicy_prefs_browsertest.cc372 // alphabetic ordering and the assignment to chunks. This ensures that the
391 std::vector<std::vector<std::string> > chunks; local
395 chunks.push_back(std::vector<std::string>(it, it + chunk_size));
397 chunks.push_back(std::vector<std::string>(it, end));
398 return chunks;
/external/linux-tools-perf/perf-3.12.0/arch/mn10300/lib/
H A Dmemcpy.S41 # we want to transfer as much as we can in chunks of 32 bytes
H A Dmemset.S45 # we want to transfer as much as we can in chunks of 32 bytes
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
H A DDefaultMp4Builder.java312 long lastChunkSize = Integer.MIN_VALUE; // to be sure the first chunks hasn't got the same size
337 // all tracks have the same number of chunks
396 Map<Track, int[]> chunks = new HashMap<Track, int[]>();
398 chunks.put(track, getChunkSizes(track, movie));
401 for (int i = 0; i < chunks.values().iterator().next().length; i++) {
404 int[] chunkSizes = chunks.get(track);
515 // The Stretch makes sure that there are as much audio and video chunks!
/external/e2fsprogs/misc/
H A De2freefrag.c98 unsigned long long chunks = (blocks_count + info->blks_in_chunk) >> local
105 for (chunk_num = 0; chunk_num < chunks; chunk_num++) {
167 fprintf(f, "Total chunks: %lu\nFree chunks: %lu (%0.1f%%)\n",
/external/chromium_org/third_party/simplejson/
H A D_speedups.c505 if (chunks == NULL) { \
506 chunks = PyList_New(0); \
507 if (chunks == NULL) { \
511 if (PyList_Append(chunks, chunk)) { \
535 PyObject *chunks = NULL; local
703 if (chunks == NULL) {
711 rval = join_list_string(chunks);
715 Py_CLEAR(chunks);
723 Py_XDECREF(chunks);
744 PyObject *chunks local
[all...]
/external/chromium_org/third_party/cython/src/Cython/Tempita/
H A D_tempita.py642 Lex a string into chunks:
666 chunks = []
686 chunks.append(part)
689 chunks.append((s[last:match.start()], last_pos))
698 chunks.append(part)
700 chunks = trim_lex(chunks)
701 return chunks
/external/antlr/antlr-3.4/tool/src/main/antlr3/org/antlr/grammar/v3/
H A DCodeGenTreeWalker.g662 List chunks = generator.translateAction(currentRuleName,$ACTION);
663 $ruleST.addAggr("exceptions.{decl,action}",$ARG_ACTION.text,chunks);
670 List chunks = generator.translateAction(currentRuleName,$ACTION);
671 $ruleST.add("finally",chunks);
1543 List chunks = generator.translateAction(currentRuleName,$ACTION);
1545 $code.add("action", chunks);
1566 List chunks=generator.translateAction(currentRuleName,$ind);
1567 $code.add("expr", chunks);
1577 List chunks = generator.translateAction(currentRuleName,$a);
1578 $code.addAggr("args.{name,value}", $arg.text, chunks);
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitruby/PrettyPatch/
H A DPrettyPatch.rb568 chunks = nil
571 chunks = [lines_with_contents[i + 1 .. -1], lines_with_contents[0 .. i]]
576 raise "no binary chunks" unless chunks
578 from_filepath = FileDiff.extract_contents_of_from_revision(@filename, chunks[0], @git_indexes[0])
579 to_filepath = FileDiff.extract_contents_of_to_revision(@filename, chunks[1], @git_indexes[1], from_filepath, @git_indexes[0])
/external/libpng/contrib/libtests/
H A Dpngunknown.c15 * arguments to save or discard combinations of chunks. The program is
41 * to cause *known* chunks to be discarded. This can be a significant
155 /* Types of chunks not known to libpng */
180 /* Critical chunks */
184 /* Non-critical chunks that libpng handles */
465 /* Map the text chunks back into the flags */
511 /* See the comments in png.h - use the default for unknown chunks,
512 * do not keep known chunks.
554 /* However if there is no support to store unknown chunks don't ask libpng to
858 check_handling(display *d, int def, png_uint_32 chunks, png_uint_3 argument
[all...]
/external/chromium_org/net/spdy/
H A Dspdy_test_util_common.cc68 // |num_chunks| is the number of chunks to create.
70 MockWrite* chunks = new MockWrite[num_chunks]; local
76 chunks[index] = MockWrite(ASYNC, ptr, chunk_size);
78 return chunks;
83 // |num_chunks| is the number of chunks to create.
91 // |num_chunks| is the number of chunks to create.
93 MockRead* chunks = new MockRead[num_chunks]; local
99 chunks[index] = MockRead(ASYNC, ptr, chunk_size);
101 return chunks;
106 // |num_chunks| is the number of chunks t
[all...]
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Drtcp_packet.cc255 void CreateSdes(const std::vector<Sdes::Chunk>& chunks, argument
259 CreateHeader(chunks.size(), PT_SDES, length, buffer, pos);
261 for (std::vector<Sdes::Chunk>::const_iterator it = chunks.begin();
262 it != chunks.end(); ++it) {
827 LOG(LS_WARNING) << "Max SDES chunks reached.";
/external/jemalloc/src/
H A Dctl.c405 {NAME("chunks"), CHILD(named, stats_chunks)},
630 ctl_stats.chunks.current = stats_chunks.curchunks;
631 ctl_stats.chunks.total = stats_chunks.nchunks;
632 ctl_stats.chunks.high = stats_chunks.highchunks;
667 ctl_stats.mapped = (ctl_stats.chunks.current << opt_lg_chunk);
1607 CTL_RO_CGEN(config_stats, stats_chunks_current, ctl_stats.chunks.current,
1609 CTL_RO_CGEN(config_stats, stats_chunks_total, ctl_stats.chunks.total, uint64_t)
1610 CTL_RO_CGEN(config_stats, stats_chunks_high, ctl_stats.chunks.high, size_t)
/external/libvorbis/doc/
H A D08-residue.tex25 Residue format partitions each vector in the vector bundle into chunks,
27 encodes the chunks themselves using the the specific VQ arrangement
38 \item Each vector is partitioned into multiple equal sized chunks
41 of \emph{ch} residue vectors, the total number of partitioned chunks
52 is also partitioned into chunks. The integer elements of each scalar

Completed in 728 milliseconds

123456