/frameworks/av/libvideoeditor/osal/src/ |
M4OSA_Random.c | 62 * @fn M4OSA_ERR M4OSA_rand(M4OSA_Int32* out_value, M4OSA_UInt32 max_value) 63 * @brief This function gives a random number between 1 and max_value 65 * returns this number in out_value. For instance, a max_value 69 * @param max_value (IN): max expected value 74 M4OSA_ERR M4OSA_rand(M4OSA_Int32* out_value, M4OSA_UInt32 max_value) 76 if( (out_value == M4OSA_NULL) || (max_value < 1) ) 83 won't overflow, which means that max_value typically shouldn't go over the range of 85 (*out_value) = (((*out_value) * max_value) / ((M4OSA_UInt32)RAND_MAX + 1)) + 1;
|
/external/chromium_org/gpu/command_buffer/service/ |
buffer_manager_unittest.cc | 251 GLuint max_value; local 254 0, 10, GL_UNSIGNED_BYTE, &max_value)); 255 EXPECT_EQ(10u, max_value); 258 4, 3, GL_UNSIGNED_BYTE, &max_value)); 259 EXPECT_EQ(6u, max_value); 263 4, 3, GL_UNSIGNED_BYTE, &max_value)); 264 EXPECT_EQ(120u, max_value); 265 max_value = 0; 267 0, 10, GL_UNSIGNED_BYTE, &max_value)); 268 EXPECT_EQ(120u, max_value); 287 GLuint max_value; local 326 GLuint max_value; local 400 GLuint max_value; local [all...] |
buffer_manager.cc | 160 GLuint max_value = 0; local 165 if (*element > max_value) { 166 max_value = *element; 169 return max_value; 173 GLuint offset, GLsizei count, GLenum type, GLuint* max_value) { 177 *max_value = it->second; 224 *max_value = max_v;
|
/frameworks/av/libvideoeditor/osal/inc/ |
M4OSA_Memory.h | 49 M4OSA_UInt32 max_value);
|
/external/chromium_org/third_party/libwebp/dsp/ |
yuv.c | 29 static WEBP_INLINE uint8_t clip(int v, int max_value) { 30 return v < 0 ? 0 : v > max_value ? max_value : v;
|
/external/webp/src/dsp/ |
yuv.c | 29 static WEBP_INLINE uint8_t clip(int v, int max_value) { 30 return v < 0 ? 0 : v > max_value ? max_value : v;
|
/frameworks/native/include/private/ui/ |
RegionHelper.h | 31 static const TYPE max_value = 0x7FFFFFF; member in class:android::region_operator 100 : lhs_head(max_value), lhs_tail(max_value), 101 rhs_head(max_value), rhs_tail(max_value) { 212 aTop = max_value; 213 aBottom = max_value; 237 SpannerBase::rhs_head = max_value; 238 SpannerBase::rhs_tail = max_value; 240 SpannerBase::lhs_head = max_value; [all...] |
/external/chromium_org/third_party/harfbuzz-ng/src/ |
hb-ot-map.cc | 104 info->max_value = value; 152 feature_infos[j].max_value = feature_infos[i].max_value; 156 feature_infos[j].max_value = MAX (feature_infos[j].max_value, feature_infos[i].max_value); 174 if ((info->flags & F_GLOBAL) && info->max_value == 1) 178 bits_needed = _hb_bit_storage (info->max_value); 180 if (!info->max_value || next_bit + bits_needed > 8 * sizeof (hb_mask_t)) 207 if ((info->flags & F_GLOBAL) && info->max_value == 1) [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_enum.cc | 66 const EnumValueDescriptor* max_value = descriptor_->value(0); local 80 if (descriptor_->value(i)->number() > max_value->number()) { 81 max_value = descriptor_->value(i); 89 vars["max_name"] = max_value->name();
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
cpp_enum.cc | 66 const EnumValueDescriptor* max_value = descriptor_->value(0); local 80 if (descriptor_->value(i)->number() > max_value->number()) { 81 max_value = descriptor_->value(i); 89 vars["max_name"] = max_value->name();
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vdpau/ |
query.c | 499 void *min_value, void *max_value) 507 if (!(min_value && max_value)) 515 *(uint32_t*)max_value = screen->get_video_param(screen, prof, PIPE_VIDEO_CAP_MAX_WIDTH); 519 *(uint32_t*)max_value = screen->get_video_param(screen, prof, PIPE_VIDEO_CAP_MAX_HEIGHT); 524 *(uint32_t*)max_value = 4; 567 void *min_value, void *max_value) 569 if (!(min_value && max_value)) 577 *(float*)max_value = 1.f; 581 *(float*)max_value = 1.f; 585 *(uint8_t*)max_value = 1 [all...] |
/external/harfbuzz_ng/src/ |
hb-ot-map.cc | 96 info->max_value = value; 192 feature_infos[j].max_value = feature_infos[i].max_value; 196 feature_infos[j].max_value = MAX (feature_infos[j].max_value, feature_infos[i].max_value); 214 if ((info->flags & F_GLOBAL) && info->max_value == 1) 218 bits_needed = _hb_bit_storage (info->max_value); 220 if (!info->max_value || next_bit + bits_needed > 8 * sizeof (hb_mask_t)) 247 if ((info->flags & F_GLOBAL) && info->max_value == 1) [all...] |
/external/mesa3d/src/gallium/state_trackers/vdpau/ |
query.c | 499 void *min_value, void *max_value) 507 if (!(min_value && max_value)) 515 *(uint32_t*)max_value = screen->get_video_param(screen, prof, PIPE_VIDEO_CAP_MAX_WIDTH); 519 *(uint32_t*)max_value = screen->get_video_param(screen, prof, PIPE_VIDEO_CAP_MAX_HEIGHT); 524 *(uint32_t*)max_value = 4; 567 void *min_value, void *max_value) 569 if (!(min_value && max_value)) 577 *(float*)max_value = 1.f; 581 *(float*)max_value = 1.f; 585 *(uint8_t*)max_value = 1 [all...] |
/frameworks/rs/scriptc/ |
rs_math.rsh | 32 rsRand(int max_value); 37 rsRand(int min_value, int max_value); 42 rsRand(float max_value); 47 rsRand(float min_value, float max_value);
|
/prebuilts/sdk/renderscript/include/ |
rs_math.rsh | 32 rsRand(int max_value); 37 rsRand(int min_value, int max_value); 42 rsRand(float max_value); 47 rsRand(float min_value, float max_value);
|
/external/chromium_org/apps/ |
saved_files_service.h | 125 static void SetMaxSequenceNumberForTest(int max_value);
|
/external/chromium_org/third_party/libva/va/ |
va_vpp.h | 362 float max_value; member in struct:_VAProcFilterValueRange
|
/external/protobuf/src/google/protobuf/io/ |
tokenizer.h | 151 // greater than max_value. Otherwise, returns true and sets *output to the 155 static bool ParseInteger(const string& text, uint64 max_value,
|
tokenizer.cc | 564 bool Tokenizer::ParseInteger(const string& text, uint64 max_value, 590 if (digit > max_value || result > (max_value - digit) / base) {
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/ |
floating_point_comparison.hpp | 72 static FPT max_value() function in struct:boost::test_tools::tt_detail::fpt_limits 88 if( (f2 < static_cast<FPT>(1)) && (f1 > f2*fpt_limits<FPT>::max_value()) ) 89 return fpt_limits<FPT>::max_value();
|
/external/chromium_org/chrome/browser/extensions/api/declarative/ |
declarative_rule_unittest.cc | 110 int max_value; member in struct:extensions::FulfillableCondition 130 return match_data.value <= max_value; 146 if (!dict->GetInteger("max", &result->max_value)) 355 EXPECT_EQ(3, conditions[0]->max_value); 356 EXPECT_EQ(5, conditions[1]->max_value);
|
/external/chromium_org/third_party/libwebp/enc/ |
analysis.c | 117 int max_value = 0, last_non_zero = 1; local 123 if (value > max_value) max_value = value; 130 alpha = (max_value > 1) ? ALPHA_SCALE * last_non_zero / max_value : 0;
|
/external/webp/src/enc/ |
analysis.c | 117 int max_value = 0, last_non_zero = 1; local 123 if (value > max_value) max_value = value; 130 alpha = (max_value > 1) ? ALPHA_SCALE * last_non_zero / max_value : 0;
|
/external/protobuf/src/google/protobuf/compiler/ |
parser.cc | 177 bool Parser::ConsumeInteger64(uint64 max_value, uint64* output, 180 if (!io::Tokenizer::ParseInteger(input_->current().text, max_value, 547 uint64 max_value = kint64max; local 551 max_value = kint32max; 558 ++max_value; 562 DO(ConsumeInteger64(max_value, &value, "Expected integer.")); 572 uint64 max_value = kuint64max; local 575 max_value = kuint32max; 584 DO(ConsumeInteger64(max_value, &value, "Expected integer.")); 719 uint64 max_value local [all...] |
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/ |
parser.cc | 179 uint64 max_value = kint32max; local 182 max_value += 1; 185 DO(ConsumeInteger64(max_value, &value, error)); 191 bool Parser::ConsumeInteger64(uint64 max_value, uint64* output, 194 if (!io::Tokenizer::ParseInteger(input_->current().text, max_value, 805 uint64 max_value = kint64max; local 809 max_value = kint32max; 816 ++max_value; 820 DO(ConsumeInteger64(max_value, &value, "Expected integer.")); 830 uint64 max_value = kuint64max local 1037 uint64 max_value = local [all...] |