Home
last modified time | relevance | path

Searched refs:max_value (Results 1 – 25 of 54) sorted by relevance

123

/external/chromium_org/gpu/command_buffer/service/
Dbuffer_manager_unittest.cc248 GLuint max_value; in TEST_F() local
251 0, 10, GL_UNSIGNED_BYTE, &max_value)); in TEST_F()
252 EXPECT_EQ(10u, max_value); in TEST_F()
255 4, 3, GL_UNSIGNED_BYTE, &max_value)); in TEST_F()
256 EXPECT_EQ(6u, max_value); in TEST_F()
260 4, 3, GL_UNSIGNED_BYTE, &max_value)); in TEST_F()
261 EXPECT_EQ(120u, max_value); in TEST_F()
262 max_value = 0; in TEST_F()
264 0, 10, GL_UNSIGNED_BYTE, &max_value)); in TEST_F()
265 EXPECT_EQ(120u, max_value); in TEST_F()
[all …]
Dbuffer_manager.cc160 GLuint max_value = 0; in GetMaxValue() local
165 if (*element > max_value) { in GetMaxValue()
166 max_value = *element; in GetMaxValue()
169 return max_value; in GetMaxValue()
173 GLuint offset, GLsizei count, GLenum type, GLuint* max_value) { in GetMaxValueForRange() argument
177 *max_value = it->second; in GetMaxValueForRange()
224 *max_value = max_v; in GetMaxValueForRange()
/external/chromium_org/third_party/harfbuzz-ng/src/
Dhb-ot-map.cc104 info->max_value = value; in add_feature()
152 feature_infos[j].max_value = feature_infos[i].max_value; in compile()
156 feature_infos[j].max_value = MAX (feature_infos[j].max_value, feature_infos[i].max_value); in compile()
174 if ((info->flags & F_GLOBAL) && info->max_value == 1) in compile()
178 bits_needed = _hb_bit_storage (info->max_value); in compile()
180 if (!info->max_value || next_bit + bits_needed > 8 * sizeof (hb_mask_t)) in compile()
207 if ((info->flags & F_GLOBAL) && info->max_value == 1) { in compile()
/external/harfbuzz_ng/src/
Dhb-ot-map.cc105 info->max_value = value; in add_feature()
169 feature_infos[j].max_value = feature_infos[i].max_value; in compile()
173 feature_infos[j].max_value = MAX (feature_infos[j].max_value, feature_infos[i].max_value); in compile()
192 if ((info->flags & F_GLOBAL) && info->max_value == 1) in compile()
196 bits_needed = _hb_bit_storage (info->max_value); in compile()
198 if (!info->max_value || next_bit + bits_needed > 8 * sizeof (hb_mask_t)) in compile()
233 if ((info->flags & F_GLOBAL) && info->max_value == 1) { in compile()
/external/mesa3d/src/gallium/state_trackers/vdpau/
Dquery.c499 void *min_value, void *max_value) in vlVdpVideoMixerQueryParameterValueRange() argument
507 if (!(min_value && max_value)) in vlVdpVideoMixerQueryParameterValueRange()
515 *(uint32_t*)max_value = screen->get_video_param(screen, prof, PIPE_VIDEO_CAP_MAX_WIDTH); in vlVdpVideoMixerQueryParameterValueRange()
519 *(uint32_t*)max_value = screen->get_video_param(screen, prof, PIPE_VIDEO_CAP_MAX_HEIGHT); in vlVdpVideoMixerQueryParameterValueRange()
524 *(uint32_t*)max_value = 4; in vlVdpVideoMixerQueryParameterValueRange()
567 void *min_value, void *max_value) in vlVdpVideoMixerQueryAttributeValueRange() argument
569 if (!(min_value && max_value)) in vlVdpVideoMixerQueryAttributeValueRange()
577 *(float*)max_value = 1.f; in vlVdpVideoMixerQueryAttributeValueRange()
581 *(float*)max_value = 1.f; in vlVdpVideoMixerQueryAttributeValueRange()
585 *(uint8_t*)max_value = 1; in vlVdpVideoMixerQueryAttributeValueRange()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/
Dquery.c499 void *min_value, void *max_value) in vlVdpVideoMixerQueryParameterValueRange() argument
507 if (!(min_value && max_value)) in vlVdpVideoMixerQueryParameterValueRange()
515 *(uint32_t*)max_value = screen->get_video_param(screen, prof, PIPE_VIDEO_CAP_MAX_WIDTH); in vlVdpVideoMixerQueryParameterValueRange()
519 *(uint32_t*)max_value = screen->get_video_param(screen, prof, PIPE_VIDEO_CAP_MAX_HEIGHT); in vlVdpVideoMixerQueryParameterValueRange()
524 *(uint32_t*)max_value = 4; in vlVdpVideoMixerQueryParameterValueRange()
567 void *min_value, void *max_value) in vlVdpVideoMixerQueryAttributeValueRange() argument
569 if (!(min_value && max_value)) in vlVdpVideoMixerQueryAttributeValueRange()
577 *(float*)max_value = 1.f; in vlVdpVideoMixerQueryAttributeValueRange()
581 *(float*)max_value = 1.f; in vlVdpVideoMixerQueryAttributeValueRange()
585 *(uint8_t*)max_value = 1; in vlVdpVideoMixerQueryAttributeValueRange()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_enum.cc66 const EnumValueDescriptor* max_value = descriptor_->value(0); in GenerateDefinition() local
80 if (descriptor_->value(i)->number() > max_value->number()) { in GenerateDefinition()
81 max_value = descriptor_->value(i); in GenerateDefinition()
89 vars["max_name"] = max_value->name(); in GenerateDefinition()
/external/protobuf/src/google/protobuf/compiler/cpp/
Dcpp_enum.cc66 const EnumValueDescriptor* max_value = descriptor_->value(0); in GenerateDefinition() local
80 if (descriptor_->value(i)->number() > max_value->number()) { in GenerateDefinition()
81 max_value = descriptor_->value(i); in GenerateDefinition()
89 vars["max_name"] = max_value->name(); in GenerateDefinition()
/external/protobuf/src/google/protobuf/compiler/
Dparser.cc177 bool Parser::ConsumeInteger64(uint64 max_value, uint64* output, in ConsumeInteger64() argument
180 if (!io::Tokenizer::ParseInteger(input_->current().text, max_value, in ConsumeInteger64()
547 uint64 max_value = kint64max; in ParseDefaultAssignment() local
551 max_value = kint32max; in ParseDefaultAssignment()
558 ++max_value; in ParseDefaultAssignment()
562 DO(ConsumeInteger64(max_value, &value, "Expected integer.")); in ParseDefaultAssignment()
572 uint64 max_value = kuint64max; in ParseDefaultAssignment() local
575 max_value = kuint32max; in ParseDefaultAssignment()
584 DO(ConsumeInteger64(max_value, &value, "Expected integer.")); in ParseDefaultAssignment()
719 uint64 max_value = in ParseOptionAssignment() local
[all …]
/external/chromium_org/third_party/libwebp/dsp/
Dyuv.c20 static WEBP_INLINE uint8_t clip(int v, int max_value) { in clip() argument
21 return v < 0 ? 0 : v > max_value ? max_value : v; in clip()
/external/webp/src/dsp/
Dyuv.c20 static WEBP_INLINE uint8_t clip(int v, int max_value) { in clip() argument
21 return v < 0 ? 0 : v > max_value ? max_value : v; in clip()
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/
Dmin_max_operations_mips.c230 int tmp1 = 0, max_value = 0x7fffffff; in WebRtcSpl_MaxAbsValueW32_mips() local
254 : [vector] "r" (vector), [length] "r" (length), [max_value] "r" (max_value) in WebRtcSpl_MaxAbsValueW32_mips()
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/
Dparser.cc179 uint64 max_value = kint32max; in ConsumeSignedInteger() local
182 max_value += 1; in ConsumeSignedInteger()
185 DO(ConsumeInteger64(max_value, &value, error)); in ConsumeSignedInteger()
191 bool Parser::ConsumeInteger64(uint64 max_value, uint64* output, in ConsumeInteger64() argument
194 if (!io::Tokenizer::ParseInteger(input_->current().text, max_value, in ConsumeInteger64()
805 uint64 max_value = kint64max; in ParseDefaultAssignment() local
809 max_value = kint32max; in ParseDefaultAssignment()
816 ++max_value; in ParseDefaultAssignment()
820 DO(ConsumeInteger64(max_value, &value, "Expected integer.")); in ParseDefaultAssignment()
830 uint64 max_value = kuint64max; in ParseDefaultAssignment() local
[all …]
/external/chromium_org/chrome/browser/extensions/api/declarative/
Ddeclarative_rule_unittest.cc110 int max_value; member
130 return match_data.value <= max_value; in IsFulfilled()
146 if (!dict->GetInteger("max", &result->max_value)) in Create()
355 EXPECT_EQ(3, conditions[0]->max_value); in TEST()
356 EXPECT_EQ(5, conditions[1]->max_value); in TEST()
/external/chromium_org/third_party/libwebp/enc/
Danalysis.c114 int max_value = 0, last_non_zero = 1; in GetAlpha() local
120 if (value > max_value) max_value = value; in GetAlpha()
127 alpha = (max_value > 1) ? ALPHA_SCALE * last_non_zero / max_value : 0; in GetAlpha()
/external/webp/src/enc/
Danalysis.c114 int max_value = 0, last_non_zero = 1; in GetAlpha() local
120 if (value > max_value) max_value = value; in GetAlpha()
127 alpha = (max_value > 1) ? ALPHA_SCALE * last_non_zero / max_value : 0; in GetAlpha()
/external/chromium_org/third_party/webrtc/modules/audio_processing/aecm/
Daecm_core_c.c186 int16_t max_value = 0; in TimeToFrequencyDomain() local
233 max_value = tmp16no1; in TimeToFrequencyDomain()
237 max_value = tmp16no2; in TimeToFrequencyDomain()
242 if ((max_value >> 2) > min_value) in TimeToFrequencyDomain()
246 } else if ((max_value >> 1) > min_value) in TimeToFrequencyDomain()
255 tmp16no1 = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(max_value, alpha, 15); in TimeToFrequencyDomain()
/external/chromium_org/net/url_request/
Durl_request_throttler_simulation_unittest.cc232 int max_value = 0; in VisualizeASCII() local
234 max_value = std::max(max_value, columns[cx]); in VisualizeASCII()
236 double row_divisor_exact = max_value / static_cast<double>(kNumRows); in VisualizeASCII()
238 DCHECK_GE(row_divisor * kNumRows, max_value); in VisualizeASCII()
/external/protobuf/src/google/protobuf/io/
Dtokenizer.cc564 bool Tokenizer::ParseInteger(const string& text, uint64 max_value, in ParseInteger() argument
590 if (digit > max_value || result > (max_value - digit) / base) { in ParseInteger()
/external/chromium_org/components/policy/core/common/
Dschema_internal.h99 int max_value; member
Dschema.cc654 int max_value = INT_MAX; in ParseRangedInt() local
659 max_value = value; in ParseRangedInt()
660 if (min_value > max_value) { in ParseRangedInt()
666 restriction_nodes_.back().ranged_restriction.max_value = max_value; in ParseRangedInt()
1077 rnode->ranged_restriction.max_value) { in ValidateIntegerRestriction()
1079 rnode->ranged_restriction.max_value >= value; in ValidateIntegerRestriction()
/external/chromium_org/ui/events/x/
Ddevice_data_manager.cc552 double max_value; in NormalizeData() local
554 if (GetDataRange(deviceid, type, &min_value, &max_value)) { in NormalizeData()
555 *value = (*value - min_value) / (max_value - min_value); in NormalizeData()
627 double max_value) { in InitializeValuatorsForTest() argument
638 valuator_max_[deviceid][j] = max_value; in InitializeValuatorsForTest()
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
Dsampler_test.cc579 uint64_t max_value = (one << 48) - 1; in TEST() local
585 CHECK_LE(x, max_value); in TEST()
598 uint64_t max_value = (one << 48) - 1; in TEST() local
601 CHECK_LE(rnd, max_value); in TEST()
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
Dsampler_test.cc579 uint64_t max_value = (one << 48) - 1; in TEST() local
585 CHECK_LE(x, max_value); in TEST()
598 uint64_t max_value = (one << 48) - 1; in TEST() local
601 CHECK_LE(rnd, max_value); in TEST()
/external/ceres-solver/internal/ceres/
Dincomplete_lq_factorization.cc130 const double max_value = dense_row.head(num_entries).cwiseAbs().maxCoeff(); in DropEntriesAndAddRow() local
131 const double threshold = drop_tolerance * max_value; in DropEntriesAndAddRow()

123