Home
last modified time | relevance | path

Searched refs:chunk_number (Results 1 – 10 of 10) sorted by relevance

/external/chromium/chrome/browser/safe_browsing/
Dsafe_browsing_database_unittest.cc42 int chunk_number, in InsertAddChunkHostPrefixValue() argument
45 chunk->chunk_number = chunk_number; in InsertAddChunkHostPrefixValue()
50 host.entry->set_chunk_id(chunk->chunk_number); in InsertAddChunkHostPrefixValue()
58 int chunk_number, in InsertAddChunkHostPrefixUrl() argument
61 InsertAddChunkHostPrefixValue(chunk, chunk_number, in InsertAddChunkHostPrefixUrl()
68 int chunk_number, in InsertAddChunkHostFullHashes() argument
71 chunk->chunk_number = chunk_number; in InsertAddChunkHostFullHashes()
76 host.entry->set_chunk_id(chunk->chunk_number); in InsertAddChunkHostFullHashes()
83 int chunk_number, in InsertAddChunkHost2PrefixUrls() argument
87 chunk->chunk_number = chunk_number; in InsertAddChunkHost2PrefixUrls()
[all …]
Dprotocol_parser_unittest.cc29 EXPECT_EQ(chunks[0].chunk_number, 1); in TEST()
82 EXPECT_EQ(chunks[0].chunk_number, 1); in TEST()
113 EXPECT_EQ(chunks[0].chunk_number, 1); in TEST()
140 EXPECT_EQ(chunks[1].chunk_number, 2); in TEST()
175 EXPECT_EQ(chunks[0].chunk_number, 1); in TEST()
259 EXPECT_EQ(chunks[0].chunk_number, 9); in TEST()
320 EXPECT_EQ(chunks[0].chunk_number, 1); in TEST()
677 EXPECT_EQ(chunks[0].chunk_number, 1); in TEST()
694 EXPECT_EQ(chunks[0].chunk_number, 1); in TEST()
701 EXPECT_EQ(chunks[1].chunk_number, 2); in TEST()
[all …]
Dchunk_range.cc94 bool IsChunkInRange(int chunk_number, const std::vector<ChunkRange>& ranges) { in IsChunkInRange() argument
105 if ((chunk.stop() >= chunk_number) && (chunk.start() <= chunk_number)) in IsChunkInRange()
109 if (chunk.stop() < chunk_number) in IsChunkInRange()
Dprotocol_parser.cc289 const int chunk_number = atoi(cmd_parts[1].c_str()); in ParseChunk() local
302 chunks->back().chunk_number = chunk_number; in ParseChunk()
426 int chunk_number; in ReadChunkId() local
427 memcpy(&chunk_number, *data, sizeof(chunk_number)); in ReadChunkId()
428 *data += sizeof(chunk_number); in ReadChunkId()
429 *remaining -= sizeof(chunk_number); in ReadChunkId()
430 return htonl(chunk_number); in ReadChunkId()
Dchunk_range.h60 bool IsChunkInRange(int chunk_number, const std::vector<ChunkRange>& ranges);
Dsafe_browsing_util.h58 int chunk_number; member
Dsafe_browsing_util.cc33 : chunk_number(0), in SBChunk()
Dsafe_browsing_database.cc779 const int chunk_id = citer->chunk_number; in InsertAddChunks()
853 const int chunk_id = citer->chunk_number; in InsertSubChunks()
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp57 unsigned chunk_number) { in clang_getCompletionChunkKind() argument
59 if (!CCStr || chunk_number >= CCStr->size()) in clang_getCompletionChunkKind()
62 switch ((*CCStr)[chunk_number].Kind) { in clang_getCompletionChunkKind()
111 unsigned chunk_number) { in clang_getCompletionChunkText() argument
113 if (!CCStr || chunk_number >= CCStr->size()) in clang_getCompletionChunkText()
116 switch ((*CCStr)[chunk_number].Kind) { in clang_getCompletionChunkText()
137 return createCXString((*CCStr)[chunk_number].Text, false); in clang_getCompletionChunkText()
150 unsigned chunk_number) { in clang_getCompletionChunkCompletionString() argument
152 if (!CCStr || chunk_number >= CCStr->size()) in clang_getCompletionChunkCompletionString()
155 switch ((*CCStr)[chunk_number].Kind) { in clang_getCompletionChunkCompletionString()
[all …]
/external/clang/include/clang-c/
DIndex.h3585 unsigned chunk_number);
3599 unsigned chunk_number);
3614 unsigned chunk_number);