/external/bzip2/ |
H A D | huffman.c | 37 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 D | graph.h | 54 // 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 D | graph_algorithms.h | 267 // 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 D | visibility.cc | 146 const double weight = static_cast<double>(count) / local 149 graph->AddEdge(camera1, camera2, weight);
|
/external/chromium_org/cc/trees/ |
H A D | layer_sorter.cc | 81 // 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 D | layer_sorter.h | 65 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 D | layer_sorter_unittest.cc | 27 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 D | suggestions_combiner_unittest.cc | 23 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 D | dns_response_builder.cc | 54 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 D | speech_recognition_grammar.h | 17 : 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 D | clock_drift_smoother.cc | 44 const double weight = local 46 estimate_us_ = weight * measured_offset.InMicroseconds() + 47 (1.0 - weight) * estimate_us_;
|
/external/chromium_org/net/dns/ |
H A D | record_rdata.h | 40 // 2 bytes network-order unsigned weight 55 uint16 weight() const { return weight_; } function in class:net::SrvRecordRdata
|
/external/chromium_org/net/spdy/ |
H A D | spdy_framer.cc | 1470 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 D | spdy_framer.h | 291 uint8 weight, 581 SpdyPriority MapWeightToPriority(uint8 weight); 289 OnPriority(SpdyStreamId stream_id, SpdyStreamId parent_stream_id, uint8 weight, bool exclusive) argument
|
H A D | spdy_priority_tree.h | 60 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 D | spdy_protocol.cc | 861 uint8 weight, 865 weight_(weight), 859 SpdyPriorityIR(SpdyStreamId stream_id, SpdyStreamId parent_stream_id, uint8 weight, bool exclusive) argument
|
H A D | spdy_protocol.h | 974 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 D | pdfium_engine.cc | 138 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 D | ppb_font_dev.h | 51 * 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 D | ppb_truetype_font_dev.h | 144 /** 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 D | ppb_pdf.h | 83 uint32_t weight; member in struct:PP_PrivateFontFileDescription
|
/external/chromium_org/ppapi/c/trusted/ |
H A D | ppb_browser_font_trusted.h | 53 * 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 D | font_dev.h | 49 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 D | truetype_font_dev.h | 71 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 D | browser_font_trusted.h | 51 PP_BrowserFont_Trusted_Weight weight() const { function in class:pp::BrowserFontDescription 52 return pp_font_description_.weight; 55 pp_font_description_.weight = w;
|