Searched defs:weight (Results 1 - 25 of 274) sorted by path

1234567891011

/external/bzip2/
H A Dhuffman.c37 while (weight[tmp] < weight[heap[zz >> 1]]) { \
52 weight[heap[yy+1]] < weight[heap[yy]]) \
54 if (weight[tmp] < weight[heap[yy]]) break; \
76 Int32 weight [ BZ_MAX_ALPHA_SIZE * 2 ]; local
80 weight[i+1] = (freq[i] == 0 ? 1 : freq[i]) << 8;
88 weight[0] = 0;
105 weight[nNode
[all...]
/external/ceres-solver/internal/ceres/
H A Dgraph.h54 // its weight is set to the new weight.
55 void AddVertex(const Vertex& vertex, double weight) { argument
60 vertex_weights_[vertex] = weight;
63 // Uses weight = 1.0. If vertex already exists, its weight is set to
97 void AddEdge(const Vertex& vertex1, const Vertex& vertex2, double weight) { argument
106 edge_weights_[make_pair(vertex1, vertex2)] = weight;
108 edge_weights_[make_pair(vertex2, vertex1)] = weight;
112 // Uses weight
[all...]
H A Dgraph_algorithms.h267 // order of weight, adding them to G_T if doing so does not create a
284 // weight. Also add the vertices of the graph to the Maximum
303 const double weight = graph.EdgeWeight(vertex1, vertex2); local
304 weighted_edges.push_back(make_pair(weight, make_pair(vertex1, vertex2)));
340 // the same weight as the original graph.
H A Dvisibility.cc146 const double weight = static_cast<double>(count) / local
149 graph->AddEdge(camera1, camera2, weight);
/external/chromium_org/cc/trees/
H A Dlayer_sorter.cc81 // Checks whether layer "a" draws on top of layer "b". The weight value returned
88 float* weight) {
89 *weight = 0.f;
169 // weight of zero these layers will get priority if a graph cycle is present
172 *weight = 0.f;
174 *weight = std::abs(max_diff);
316 float weight = 0.f; local
320 &weight);
333 edges_.push_back(GraphEdge(start_node, end_node, weight));
343 edge.to->incoming_edge_weight += edge.weight;
85 CheckOverlap(LayerShape* a, LayerShape* b, float z_threshold, float* weight) argument
[all...]
H A Dlayer_sorter.h65 GraphEdge(GraphNode* from_node, GraphNode* to_node, float weight) argument
68 weight(weight) {}
72 float weight; member in struct:cc::GraphEdge
93 float* weight);
H A Dlayer_sorter_unittest.cc27 float weight = 0.f; local
39 LayerSorter::CheckOverlap(&front, &back, z_threshold, &weight);
41 EXPECT_EQ(1.f, weight);
44 LayerSorter::CheckOverlap(&back, &front, z_threshold, &weight);
46 EXPECT_EQ(1.f, weight);
53 LayerSorter::CheckOverlap(&front, &back_right, z_threshold, &weight);
58 LayerSorter::CheckOverlap(&front, &front, z_threshold, &weight);
59 EXPECT_EQ(0.f, weight);
65 float weight = 0.f; local
82 LayerSorter::CheckOverlap(&front_face, &left_face, z_threshold, &weight);
89 float weight = 0.f; local
117 float weight = 0.f; local
160 float weight = 0.f; local
[all...]
/external/chromium_org/chrome/browser/ui/webui/ntp/
H A Dsuggestions_combiner_unittest.cc23 int weight; member in struct:__anon5517::SourceInfo
52 // Two sources, equal weight, more than 8 items.
57 // Two sources, equal weight, exactly 8 items.
62 // Two sources, equal weight, exactly 8 items but source A has more.
67 // Two sources, equal weight, exactly 8 items but source B has more.
72 // Two sources, equal weight, exactly 8 items but source A has none.
77 // Two sources, equal weight, exactly 8 items but source B has none.
82 // Two sources, equal weight, less than 8 items.
87 // Two sources, equal weight, less than 8 items but source A has more.
92 // Two sources, equal weight, les
137 SuggestionsSourceStub(int weight, const std::string& source_name, int number_of_suggestions) argument
[all...]
/external/chromium_org/cloud_print/gcp20/prototype/
H A Ddns_response_builder.cc54 uint16 weight,
67 writer.WriteU16(weight) &&
51 AppendSrv(const std::string& service_name, uint32 ttl, uint16 priority, uint16 weight, uint16 http_port, const std::string& service_domain_name, bool answer) argument
/external/chromium_org/content/public/common/
H A Dspeech_recognition_grammar.h17 : weight(0.0f) {
21 weight(0.0f) {
25 weight(weight_value) {
29 double weight; member in struct:content::SpeechRecognitionGrammar
/external/chromium_org/media/cast/common/
H A Dclock_drift_smoother.cc44 const double weight = local
46 estimate_us_ = weight * measured_offset.InMicroseconds() +
47 (1.0 - weight) * estimate_us_;
/external/chromium_org/net/dns/
H A Drecord_rdata.h40 // 2 bytes network-order unsigned weight
55 uint16 weight() const { return weight_; } function in class:net::SrvRecordRdata
/external/chromium_org/net/spdy/
H A Dspdy_framer.cc1470 uint8 weight = 0; local
1471 successful_read = reader.ReadUInt8(&weight);
1473 priority = MapWeightToPriority(weight);
1843 uint8 weight; local
1852 successful_read = reader.ReadUInt8(&weight);
1856 current_frame_stream_id_, parent_stream_id, weight, exclusive);
2836 builder.WriteUInt8(priority.weight());
3066 SpdyPriority SpdyFramer::MapWeightToPriority(uint8 weight) { argument
3068 return static_cast<SpdyPriority>(7.f - weight / kSteps);
H A Dspdy_framer.h291 uint8 weight,
581 SpdyPriority MapWeightToPriority(uint8 weight);
289 OnPriority(SpdyStreamId stream_id, SpdyStreamId parent_stream_id, uint8 weight, bool exclusive) argument
H A Dspdy_priority_tree.h60 int weight; // Weights can range between 1 and 256 (inclusive). member in struct:net::SpdyPriorityTree::Node
61 // The total weight of this node's direct descendants.
63 // The total weight of direct descendants that are writeable
88 // Add a new node with the given weight and parent. Non-exclusive nodes
94 bool AddNode(NodeId node_id, NodeId parent_id, int weight, bool exclusive);
100 // Get the weight of the given node.
112 bool SetWeight(NodeId node_id, int weight);
142 // parent's priority * (node's weight / sum of sibling weights)
162 root_node->weight = kDefaultWeight;
175 weight(kDefaultWeigh
207 AddNode(NodeId node_id, NodeId parent_id, int weight, bool exclusive) argument
311 SetWeight( NodeId node_id, int weight) argument
[all...]
H A Dspdy_protocol.cc861 uint8 weight,
865 weight_(weight),
859 SpdyPriorityIR(SpdyStreamId stream_id, SpdyStreamId parent_stream_id, uint8 weight, bool exclusive) argument
H A Dspdy_protocol.h974 uint8 weight,
978 uint8 weight() const { return weight_; } function in class:net::SpdyPriorityIR
979 void set_weight(uint8 weight) { weight_ = weight; } argument
/external/chromium_org/pdf/pdfium/
H A Dpdfium_engine.cc138 PP_BrowserFont_Trusted_Weight WeightToBrowserFontTrustedWeight(int weight) { argument
146 std::min(std::max(weight, kMinimumWeight), kMaximumWeight);
204 void* MapFont(struct _FPDF_SYSFONTINFO*, int weight, int italic, argument
243 description.set_weight(WeightToBrowserFontTrustedWeight(weight));
/external/chromium_org/ppapi/c/dev/
H A Dppb_font_dev.h51 * Specifies the font weight. Normally users will only use NORMAL or BOLD.
106 PP_FontWeight_Dev weight; member in struct:PP_FontDescription_Dev
H A Dppb_truetype_font_dev.h144 /** This value specifies the font weight. */
145 PP_TrueTypeFontWeight_Dev weight; member in struct:PP_TrueTypeFontDesc_Dev
/external/chromium_org/ppapi/c/private/
H A Dppb_pdf.h83 uint32_t weight; member in struct:PP_PrivateFontFileDescription
/external/chromium_org/ppapi/c/trusted/
H A Dppb_browser_font_trusted.h53 * Specifies the font weight. Normally users will only use NORMAL or BOLD.
108 PP_BrowserFont_Trusted_Weight weight; member in struct:PP_BrowserFont_Trusted_Description
/external/chromium_org/ppapi/cpp/dev/
H A Dfont_dev.h49 PP_FontWeight_Dev weight() const { return pp_font_description_.weight; } function in class:pp::FontDescription_Dev
50 void set_weight(PP_FontWeight_Dev w) { pp_font_description_.weight = w; }
H A Dtruetype_font_dev.h71 PP_TrueTypeFontWeight_Dev weight() const { return desc_.weight; } function in class:pp::TrueTypeFontDesc_Dev
72 void set_weight(PP_TrueTypeFontWeight_Dev weight) { argument
73 desc_.weight = weight;
/external/chromium_org/ppapi/cpp/trusted/
H A Dbrowser_font_trusted.h51 PP_BrowserFont_Trusted_Weight weight() const { function in class:pp::BrowserFontDescription
52 return pp_font_description_.weight;
55 pp_font_description_.weight = w;

Completed in 476 milliseconds

1234567891011