Home
last modified time | relevance | path

Searched refs:cluster (Results 1 – 25 of 94) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/Source/core/rendering/
DFastTextAutosizer.cpp65 Cluster* cluster = result.iterator->value.get(); in record() local
66 cluster->m_blocks.add(block); in record()
68 m_clusterForBlock.set(block, cluster); in record()
73 Cluster* cluster = m_clusterForBlock.take(block); in destroy() local
74 if (!cluster) in destroy()
76 cluster->m_blocks.remove(block); in destroy()
77 if (cluster->m_blocks.isEmpty()) { in destroy()
79 m_clusterForFingerprint.remove(cluster->m_fingerprint); in destroy()
82 cluster->m_multiplier = 0; in destroy()
96 Cluster* cluster = 0; in inflate() local
[all …]
DTextAutosizer.cpp155 RenderBlock* cluster = container; in processSubtree() local
156 while (cluster && (!isAutosizingContainer(cluster) || !isIndependentDescendant(cluster))) in processSubtree()
157 cluster = cluster->containingBlock(); in processSubtree()
162 if (!cluster || clusterMultiplier(cluster->style()->writingMode(), windowInfo, in processSubtree()
166 TextAutosizingClusterInfo clusterInfo(cluster); in processSubtree()
593 const RenderBlock* TextAutosizer::findDeepestBlockContainingAllText(const RenderBlock* cluster) in findDeepestBlockContainingAllText() argument
596 …const RenderObject* firstTextLeaf = findFirstTextLeafNotInCluster(cluster, firstDepth, FirstToLast… in findDeepestBlockContainingAllText()
598 return cluster; in findDeepestBlockContainingAllText()
601 … const RenderObject* lastTextLeaf = findFirstTextLeafNotInCluster(cluster, lastDepth, LastToFirst); in findDeepestBlockContainingAllText()
630 ASSERT(containingBlock->isDescendantOf(cluster)); in findDeepestBlockContainingAllText()
DTextAutosizer.h81 …static bool containerContainsOneOfTags(const RenderBlock* cluster, const Vector<QualifiedName>& ta…
91 static const RenderBlock* findDeepestBlockContainingAllText(const RenderBlock* cluster);
/external/chromium_org/media/webm/
Dwebm_cluster_parser_unittest.cc223 scoped_ptr<Cluster> cluster(CreateCluster(0, kDefaultBlockInfo, block_count)); in TEST_F() local
227 int result = parser_->Parse(cluster->data(), cluster->size() - 1); in TEST_F()
229 EXPECT_LT(result, cluster->size()); in TEST_F()
235 result = parser_->Parse(cluster->data(), cluster->size()); in TEST_F()
236 EXPECT_EQ(result, cluster->size()); in TEST_F()
242 scoped_ptr<Cluster> cluster(CreateCluster(0, kDefaultBlockInfo, block_count)); in TEST_F() local
244 int result = parser_->Parse(cluster->data(), cluster->size()); in TEST_F()
245 EXPECT_EQ(cluster->size(), result); in TEST_F()
251 scoped_ptr<Cluster> cluster(CreateCluster(0, kDefaultBlockInfo, block_count)); in TEST_F() local
257 const uint8* data = cluster->data(); in TEST_F()
[all …]
Dwebm_parser_unittest.cc194 scoped_ptr<Cluster> cluster(CreateCluster(kBlockCount)); in TEST_F() local
198 int result = parser.Parse(cluster->data(), cluster->size()); in TEST_F()
199 EXPECT_EQ(cluster->size(), result); in TEST_F()
204 scoped_ptr<Cluster> cluster(CreateCluster(kBlockCount)); in TEST_F() local
207 const uint8* data = cluster->data(); in TEST_F()
208 int size = cluster->size(); in TEST_F()
238 scoped_ptr<Cluster> cluster(CreateCluster(kBlockCount)); in TEST_F() local
250 int result = parser.Parse(cluster->data(), cluster->size() - 1); in TEST_F()
252 EXPECT_LT(result, cluster->size()); in TEST_F()
258 result = parser.Parse(cluster->data(), cluster->size()); in TEST_F()
[all …]
/external/iptables/extensions/
Dlibxt_cluster.man4 This match requires that all the nodes see the same packets. Thus, the cluster
7 \fB\-\-cluster\-total\-nodes\fP \fInum\fP
8 Set number of total nodes in cluster.
10 [\fB!\fP] \fB\-\-cluster\-local\-node\fP \fInum\fP
13 [\fB!\fP] \fB\-\-cluster\-local\-nodemask\fP \fImask\fP
15 of \fB\-\-cluster\-local\-node\fP.
17 \fB\-\-cluster\-hash\-seed\fP \fIvalue\fP
22 iptables \-A PREROUTING \-t mangle \-i eth1 \-m cluster
23 \-\-cluster\-total\-nodes 2 \-\-cluster\-local\-node 1
24 \-\-cluster\-hash\-seed 0xdeadbeef
[all …]
Dlibipt_CLUSTERIP.man1 This module allows you to configure a simple cluster of nodes that share
4 cluster.
18 Number of total nodes within this cluster.
21 Local node number within this cluster.
/external/harfbuzz_ng/util/
Dhelper-cairo.cc413 if (hb_glyph[i].cluster != hb_glyph[i-1].cluster) in helper_cairo_line_from_buffer()
446 unsigned int cluster = 0; in helper_cairo_line_from_buffer() local
448 l->clusters[cluster].num_glyphs++; in helper_cairo_line_from_buffer()
451 if (hb_glyph[i].cluster != hb_glyph[i+1].cluster) { in helper_cairo_line_from_buffer()
452 g_assert (hb_glyph[i].cluster > hb_glyph[i+1].cluster); in helper_cairo_line_from_buffer()
454 end = start + hb_glyph[i].cluster - hb_glyph[i+1].cluster; in helper_cairo_line_from_buffer()
456 end = g_utf8_offset_to_pointer (start, hb_glyph[i].cluster - hb_glyph[i+1].cluster); in helper_cairo_line_from_buffer()
457 l->clusters[cluster].num_bytes = end - start; in helper_cairo_line_from_buffer()
459 cluster++; in helper_cairo_line_from_buffer()
461 l->clusters[cluster].num_glyphs++; in helper_cairo_line_from_buffer()
[all …]
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-buffer.cc215 unsigned int cluster) in add() argument
226 glyph->cluster = cluster; in add()
435 if (cluster_start <= info[i].cluster && info[i].cluster < cluster_end) in set_masks()
488 last_cluster = info[0].cluster; in reverse_clusters()
490 if (last_cluster != info[i].cluster) { in reverse_clusters()
493 last_cluster = info[i].cluster; in reverse_clusters()
506 unsigned int cluster = info[start].cluster; in merge_clusters() local
509 cluster = MIN (cluster, info[i].cluster); in merge_clusters()
512 while (end < len && info[end - 1].cluster == info[end].cluster) in merge_clusters()
516 while (idx < start && info[start - 1].cluster == info[start].cluster) in merge_clusters()
[all …]
Dhb-coretext.cc606 unsigned int cluster = buffer->info[i].cluster; in _hb_coretext_shape() local
607 log_clusters[chars_len++] = cluster; in _hb_coretext_shape()
609 log_clusters[chars_len++] = cluster; /* Surrogates. */ in _hb_coretext_shape()
696 info->cluster = string_indices[j]; in _hb_coretext_shape()
730 unsigned int curr_cluster = buffer->info[i].cluster; in _hb_coretext_shape()
733 if (buffer->info[j - 1].cluster > curr_cluster) in _hb_coretext_shape()
734 buffer->info[j - 1].cluster = curr_cluster; in _hb_coretext_shape()
744 unsigned int curr_cluster = buffer->info[i].cluster; in _hb_coretext_shape()
747 if (buffer->info[j - 1].cluster < curr_cluster) in _hb_coretext_shape()
748 buffer->info[j - 1].cluster = curr_cluster; in _hb_coretext_shape()
Dhb-buffer-deserialize-text.hh389 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_glyphs_text()
433 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_glyphs_text()
510 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_glyphs_text()
/external/harfbuzz_ng/src/
Dhb-buffer.cc201 unsigned int cluster) in add() argument
212 glyph->cluster = cluster; in add()
383 if (cluster_start <= info[i].cluster && info[i].cluster < cluster_end) in set_masks()
436 last_cluster = info[0].cluster; in reverse_clusters()
438 if (last_cluster != info[i].cluster) { in reverse_clusters()
441 last_cluster = info[i].cluster; in reverse_clusters()
454 unsigned int cluster = info[start].cluster; in merge_clusters() local
457 cluster = MIN (cluster, info[i].cluster); in merge_clusters()
460 while (end < len && info[end - 1].cluster == info[end].cluster) in merge_clusters()
464 while (idx < start && info[start - 1].cluster == info[start].cluster) in merge_clusters()
[all …]
Dhb-coretext.cc293 info->cluster = string_indices[j]; in _hb_coretext_shape()
327 unsigned int curr_cluster = buffer->info[i].cluster; in _hb_coretext_shape()
330 if (buffer->info[j - 1].cluster > curr_cluster) in _hb_coretext_shape()
331 buffer->info[j - 1].cluster = curr_cluster; in _hb_coretext_shape()
341 unsigned int curr_cluster = buffer->info[i].cluster; in _hb_coretext_shape()
344 if (buffer->info[j - 1].cluster < curr_cluster) in _hb_coretext_shape()
345 buffer->info[j - 1].cluster = curr_cluster; in _hb_coretext_shape()
Dhb-buffer-deserialize-text.hh389 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_glyphs_text()
433 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_glyphs_text()
510 { if (!parse_uint (tok, p, &info.cluster )) return false; } in _hb_buffer_deserialize_glyphs_text()
/external/chromium_org/ui/gfx/
Dcolor_analysis.cc226 std::vector<KMeanCluster>::iterator cluster = clusters.begin(); in CalculateKMeanColorOfBuffer() local
227 while (cluster != clusters.end()) { in CalculateKMeanColorOfBuffer()
249 cluster_check != cluster; ++cluster_check) { in CalculateKMeanColorOfBuffer()
259 cluster->SetCentroid(r, g, b); in CalculateKMeanColorOfBuffer()
266 cluster = clusters.erase(cluster); in CalculateKMeanColorOfBuffer()
271 ++cluster; in CalculateKMeanColorOfBuffer()
300 for (std::vector<KMeanCluster>::iterator cluster = clusters.begin(); in CalculateKMeanColorOfBuffer() local
301 cluster != clusters.end(); ++cluster) { in CalculateKMeanColorOfBuffer()
302 uint32_t distance_sqr = cluster->GetDistanceSqr(r, g, b); in CalculateKMeanColorOfBuffer()
306 closest_cluster = cluster; in CalculateKMeanColorOfBuffer()
[all …]
/external/harfbuzz/src/
Dharfbuzz-buffer.c175 HB_UInt cluster ) in hb_buffer_add_glyph() argument
187 glyph->cluster = cluster; in hb_buffer_add_glyph()
278 HB_UInt cluster; in _hb_buffer_add_output_glyphs() local
292 cluster = buffer->in_string[buffer->in_pos].cluster; in _hb_buffer_add_output_glyphs()
304 item->cluster = cluster; in _hb_buffer_add_output_glyphs()
Dharfbuzz-buffer.h42 HB_UInt cluster; member
94 HB_UInt cluster );
/external/harfbuzz_ng/src/hb-old/
Dharfbuzz-buffer.c175 HB_UInt cluster ) in HB_Buffer_add_glyph() argument
187 glyph->cluster = cluster; in HB_Buffer_add_glyph()
278 HB_UInt cluster; in _hb_buffer_add_output_glyphs() local
292 cluster = buffer->in_string[buffer->in_pos].cluster; in _hb_buffer_add_output_glyphs()
304 item->cluster = cluster; in _hb_buffer_add_output_glyphs()
Dharfbuzz-buffer.h42 HB_UInt cluster; member
94 HB_UInt cluster );
/external/qemu/block/
Dvvfat.c340 unsigned char* cluster; /* points to current cluster */ member
537 static inline void fat_set(BDRVVVFATState* s,unsigned int cluster,uint32_t value) in fat_set() argument
540 uint32_t* entry=array_get(&(s->fat),cluster); in fat_set()
543 uint16_t* entry=array_get(&(s->fat),cluster); in fat_set()
546 int offset = (cluster*3/2); in fat_set()
548 switch (cluster&1) { in fat_set()
561 static inline uint32_t fat_get(BDRVVVFATState* s,unsigned int cluster) in fat_get() argument
564 uint32_t* entry=array_get(&(s->fat),cluster); in fat_get()
567 uint16_t* entry=array_get(&(s->fat),cluster); in fat_get()
570 const uint8_t* x=(uint8_t*)(s->fat.pointer)+cluster*3/2; in fat_get()
[all …]
/external/iptables/tests/
Doptions-most.rules13cluster --cluster-local-nodemask 0x00000001 --cluster-total-nodes 2 --cluster-hash-seed 0x00000001…
15 -A INPUT -p tcp -m cluster --cluster-local-nodemask 0x00000001 --cluster-total-nodes 2 --cluster-ha…
16 -A INPUT -p tcp -m cluster --cluster-local-nodemask 0x00000001 --cluster-total-nodes 2 --cluster-ha…
/external/harfbuzz_ng/contrib/python/lib/
Dharfbuzz.pyx51 unsigned long cluster
78 …ffer_add_glyph(hb_buffer_t *buffer, hb_codepoint_t codepoint, hb_mask_t mask, unsigned int cluster)
120 def __init__(self, gid, cluster, advance, offset, internal = 0) : argument
122 self.cluster = cluster
128 …res = "{0:d}>{1:d}@({2:.2f},{3:.2f})+({4:.2f},{5:.2f})".format(self.gid, self.cluster, self.offset…
160 …temp = glyphinfo(infos[i].codepoint, infos[i].cluster, (positions[i].x_advance / scale, positions[…
/external/harfbuzz_ng/test/api/
Dtest-buffer.c196 unsigned int cluster; in test_buffer_contents() local
197 cluster = 1+i; in test_buffer_contents()
200 cluster++; in test_buffer_contents()
202 cluster += 3; in test_buffer_contents()
205 g_assert_cmphex (glyphs[i].cluster, ==, cluster); in test_buffer_contents()
230 glyphs[2].cluster = glyphs[1].cluster; in test_buffer_contents()
688 g_assert (glyphs[j].cluster == test->offset); in test_buffer_utf8_validity()
/external/chromium_org/chrome/tools/
Dhistory-viz.py120 cluster = pred(obj)
121 clusters[cluster] = clusters.get(cluster, [])
122 clusters[cluster].append(obj)
/external/eigen/unsupported/Eigen/src/MatrixFunctions/
DMatrixFunction.h295 … (typename ListOfClusters::const_iterator cluster = m_clusters.begin(); cluster != m_clusters.end(… in computeClusterSize() local
297 if (std::find(cluster->begin(), cluster->end(), diag(i)) != cluster->end()) { in computeClusterSize()
324 Index cluster = m_eivalToCluster[i]; in constructPermutation() local
325 m_permutation[i] = indexNextEntry[cluster]; in constructPermutation()
326 ++indexNextEntry[cluster]; in constructPermutation()

1234