/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | stringprintf_unittest.cc | 64 string value("Hello"); 66 StringAppendF(&value, "%s", empty); 67 EXPECT_EQ("Hello", value); 71 string value("Hello"); 72 StringAppendF(&value, "%s", ""); 73 EXPECT_EQ("Hello", value); 77 string value("Hello"); 78 StringAppendF(&value, " %s", "World"); 79 EXPECT_EQ("Hello World", value); 83 string value("Hell 99 string value = StringPrintf("%.*s", 3, kInvalidCodePoint); local 125 string value = StringPrintf("%.*s", 3, "\\375\\067s"); local 135 string value = StringPrintf("Hello, %s!", "World"); local 145 string value = StringPrintf("%s", buf); local [all...] |
H A D | template_util_unittest.cc | 36 // value is assigned true or false sequentially. 56 EXPECT_TRUE(true_type::value); 57 EXPECT_FALSE(false_type::value); 60 EXPECT_EQ(1, one_type::value); 65 EXPECT_TRUE(if_true::value); 68 EXPECT_FALSE(if_false::value); 73 bool value = false; local 76 value = type_equals_<int, int>::value; 77 EXPECT_TRUE(value); 91 bool value = false; local [all...] |
/external/chromium_org/third_party/re2/re2/testing/ |
H A D | re2_arg_test.cc | 17 int64 value; member in struct:re2::SuccessTable 26 // type can contain the given value. 28 // string integer value short ushort int uint int64 uint64 104 ASSERT_EQUALS(r, kSuccessTable[i].value); \
|
/external/chromium_org/third_party/skia/experimental/iOSSampleApp/Shared/ |
H A D | SkOptionsTableViewController.h | 36 - (UITableViewCell*)createSlider:(NSString*)title min:(float)min max:(float)max default:(float)value; variable 39 - (UITableViewCell*)createTextField:(NSString*)title default:(NSString*)value; variable 40 - (UITableViewCell*)createList:(NSString*)title default:(NSString*)value; variable
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkAnnotation.h | 29 static SkAnnotation* Create(const char key[], SkData* value) { argument 30 return SkNEW_ARGS(SkAnnotation, (key, value)); 45 SkAnnotation(const char key[], SkData* value);
|
/external/chromium_org/third_party/skia/tools/skpdiff/ |
H A D | SkPMetricUtil_generated.h | 182 static float get_cube_root(float value) { argument 183 SkASSERT(value >= 0.0f); 184 SkASSERT(value * 1023.0f < 1024.0f); 185 return gCubeRootTable[(int)(value * 1023.0f)]; 233 static float get_gamma(unsigned char value) { argument 234 return gGammaTable[value]; 1906 static float get_threshold_vs_intensity(float value) { argument 1907 SkASSERT(value >= 0.0f); 1908 SkASSERT(value < 100.0f); 1909 return gTVITable[(int)(value * 100. [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/base/ |
H A D | spinlock_posix-inl.h | 44 void SpinLockDelay(volatile Atomic32 *w, int32 value, int loop) { argument
|
H A D | spinlock_win32-inl.h | 40 void SpinLockDelay(volatile Atomic32 *w, int32 value, int loop) { argument
|
/external/chromium_org/third_party/tcmalloc/vendor/src/base/ |
H A D | spinlock_posix-inl.h | 44 void SpinLockDelay(volatile Atomic32 *w, int32 value, int loop) { argument
|
H A D | spinlock_win32-inl.h | 40 void SpinLockDelay(volatile Atomic32 *w, int32 value, int loop) { argument
|
/external/chromium_org/third_party/webrtc/base/ |
H A D | httpcommon_unittest.cc | 91 std::string value; local 92 EXPECT_TRUE(url.get_attribute("query", &value)); 93 EXPECT_STREQ("x", value.c_str()); 94 value.clear(); 95 EXPECT_TRUE(url.get_attribute("attr", &value)); 96 EXPECT_STREQ("y", value.c_str()); 97 value.clear(); 98 EXPECT_FALSE(url.get_attribute("Query", &value)); 99 EXPECT_TRUE(value.empty());
|
H A D | safe_conversions.h | 32 // Convenience function that returns true if the supplied value is in range 35 inline bool IsValueInRangeForNumericType(Src value) { argument 36 return internal::RangeCheck<Dst>(value) == internal::TYPE_VALID; 43 inline Dst checked_cast(Src value) { argument 44 Check(IsValueInRangeForNumericType<Dst>(value)); 45 return static_cast<Dst>(value); 52 inline Dst saturated_cast(Src value) { argument 55 return static_cast<Dst>(value); 57 switch (internal::RangeCheck<Dst>(value)) { 59 return static_cast<Dst>(value); [all...] |
/external/chromium_org/third_party/webrtc/common_audio/vad/ |
H A D | vad_sp_unittest.cc | 32 // We expect the first value to be 1600 as long as |frame_counter| is zero, 60 // array and calculate the reference value here. Make sure the values are not 63 int16_t value = 500 * (i + 1); local 65 // Use values both above and below initialized value. 66 EXPECT_EQ(kReferenceMin[i], WebRtcVad_FindMinimum(self, value, j));
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
H A D | random_vector.h | 40 void set_seed_increment(int16_t value) { seed_increment_ = value; } argument
|
/external/chromium_org/third_party/webrtc/system_wrappers/interface/ |
H A D | data_log.h | 16 // col1,col2,col3,multi-value-col4[3],,,col5 21 // As can be seen in the example, a multi-value-column is specified with the 25 // Without multi-value-columns this format can be natively by Matlab. With 26 // multi-value-columns a small Matlab script is needed, available at 63 // Adds a new column to a table. The column will be a multi-value-column 70 // Inserts a single value into a table with name table_name at the column with 80 T value) { 87 new ValueContainer<T>(value)); 91 // column specified by column_name, which must be a multi-value-column. 78 InsertCell(const std::string& table_name, const std::string& column_name, T value) argument
|
/external/chromium_org/tools/gn/ |
H A D | output_file.h | 22 std::string& value() { return value_; } function in class:OutputFile 23 const std::string& value() const { return value_; } function in class:OutputFile 27 return SourceFile(build_settings->build_dir().value() + value_);
|
/external/chromium_org/tools/json_schema_compiler/test/ |
H A D | enums_unittest.cc | 16 base::DictionaryValue value; local 17 value.Set("type", base::Value::CreateStringValue("one")); 18 EXPECT_TRUE(EnumType::Populate(value, &enum_type)); 20 EXPECT_TRUE(value.Equals(enum_type.ToValue().get())); 24 base::DictionaryValue value; local 25 value.Set("type", base::Value::CreateStringValue("invalid")); 26 EXPECT_FALSE(EnumType::Populate(value, &enum_type)); 50 base::DictionaryValue value; local 51 ASSERT_FALSE(HasEnumeration::Populate(value, &enumeration)); 53 value 63 base::DictionaryValue value; local 129 base::DictionaryValue value; local 137 base::DictionaryValue value; local 144 base::DictionaryValue value; local [all...] |
H A D | error_generation_unittest.cc | 18 base::string16 GetPopulateError(const base::Value& value) { argument 21 T::Populate(value, &test_type, &error); 36 scoped_ptr<base::DictionaryValue> value = Dictionary( local 38 EXPECT_TRUE(EqualsUtf16("", GetPopulateError<TestType>(*value))); 41 scoped_ptr<base::BinaryValue> value(new base::BinaryValue()); 43 GetPopulateError<TestType>(*value))); 49 scoped_ptr<base::ListValue> value(new base::ListValue()); 51 GetPopulateError<ChoiceType::Integers>(*value))); 54 scoped_ptr<base::BinaryValue> value(new base::BinaryValue()); 56 GetPopulateError<ChoiceType::Integers>(*value))); 64 scoped_ptr<base::DictionaryValue> value = Dictionary( local 116 scoped_ptr<base::DictionaryValue> value = Dictionary( local 121 scoped_ptr<base::DictionaryValue> value = Dictionary( local 151 scoped_ptr<base::DictionaryValue> value = Dictionary( local 180 scoped_ptr<base::DictionaryValue> value = Dictionary( local 185 scoped_ptr<base::DictionaryValue> value = Dictionary( local 194 scoped_ptr<base::DictionaryValue> value = Dictionary( local 199 scoped_ptr<base::DictionaryValue> value = Dictionary( local 210 scoped_ptr<base::DictionaryValue> value = Dictionary( local 215 scoped_ptr<base::DictionaryValue> value = Dictionary( local 227 scoped_ptr<base::DictionaryValue> value = Dictionary( local 232 scoped_ptr<base::DictionaryValue> value = Dictionary( local 246 scoped_ptr<base::DictionaryValue> value = Dictionary( local 252 scoped_ptr<base::DictionaryValue> value = Dictionary("data", local 266 scoped_ptr<base::DictionaryValue> value = Dictionary( local 271 scoped_ptr<base::DictionaryValue> value = Dictionary( local 306 scoped_ptr<base::DictionaryValue> value = Dictionary( local 325 scoped_ptr<base::DictionaryValue> value = Dictionary( local 330 scoped_ptr<base::DictionaryValue> value = Dictionary( local [all...] |
/external/chromium_org/tools/relocation_packer/src/ |
H A D | leb128.cc | 14 // Add a single value to the encoding. Values are encoded with variable 17 void Leb128Encoder::Enqueue(uint32_t value) { argument 18 while (value > 127) { 19 encoding_.push_back((1 << 7) | (value & 127)); 20 value >>= 7; 22 encoding_.push_back(value); 31 // Decode and retrieve a single value from the encoding. Read forwards until 33 // fields of the bytes spanned to re-form the value. 39 uint32_t value = 0; local 41 value [all...] |
/external/chromium_org/tools/telemetry/telemetry/value/ |
H A D | histogram_unittest.py | 7 from telemetry import value namespace 9 from telemetry.value import histogram as histogram_module 40 histogram.GetBuildbotDataType(value.SUMMARY_RESULT_OUTPUT_CONTEXT)) 44 histogram.GetBuildbotDataType(value.SUMMARY_RESULT_OUTPUT_CONTEXT))
|
H A D | value_unittest_.py | 7 from telemetry import value namespace 26 a = value.Value(page0, 'x', 'unit', important=False) 27 b = value.Value(page1, 'x', 'unit', important=False) 33 a = value.Value(page0, 'x', 'unit', important=False) 34 b = value.Value(page0, 'x', 'incompatUnit', important=False) 37 a = value.Value(page0, 'x', 'unit', important=False) 38 b = value.Value(page0, 'x', 'unit', important=True) 41 a = value.Value(page0, 'x', 'unit', important=False) 42 b = value.ScalarValue(page0, 'x', 'unit', 3, important=True)
|
/external/chromium_org/ui/gfx/geometry/ |
H A D | safe_integer_conversions.h | 15 inline int ClampToInt(float value) { argument 16 if (value != value) 18 if (value >= std::numeric_limits<int>::max()) 20 if (value <= std::numeric_limits<int>::min()) 22 return static_cast<int>(value); 25 inline int ToFlooredInt(float value) { argument 26 return ClampToInt(std::floor(value)); 29 inline int ToCeiledInt(float value) { argument 30 return ClampToInt(std::ceil(value)); 33 ToRoundedInt(float value) argument 42 IsExpressibleAsInt(float value) argument [all...] |
/external/chromium_org/v8/src/ |
H A D | compiler-intrinsics.h | 14 // Undefined for zero value. 15 INLINE(static int CountTrailingZeros(uint32_t value)); 18 // Undefined for zero value. 19 INLINE(static int CountLeadingZeros(uint32_t value)); 22 INLINE(static int CountSetBits(uint32_t value)); 26 int CompilerIntrinsics::CountTrailingZeros(uint32_t value) { argument 27 return __builtin_ctz(value); 30 int CompilerIntrinsics::CountLeadingZeros(uint32_t value) { argument 31 return __builtin_clz(value); 34 int CompilerIntrinsics::CountSetBits(uint32_t value) { argument 43 CountTrailingZeros(uint32_t value) argument 49 CountLeadingZeros(uint32_t value) argument 55 CountSetBits(uint32_t value) argument [all...] |
H A D | hydrogen-dehoist.cc | 30 int32_t value = constant->Integer32Value() * sign; local 33 if (value >= 1 << array_operation->MaxBaseOffsetBits() || value < 0) return; 38 value <<= ElementsKindToShiftSize(array_operation->elements_kind()); 39 array_operation->IncreaseBaseOffset(static_cast<uint32_t>(value));
|
H A D | hydrogen-range-analysis.h | 27 void UpdateControlFlowRange(Token::Value op, HValue* value, HValue* other); 28 void InferRange(HValue* value); 30 void AddRange(HValue* value, Range* range); 31 void AddToWorklist(HValue* value) { argument 32 if (in_worklist_.Contains(value->id())) return; 33 in_worklist_.Add(value->id()); 34 worklist_.Add(value, zone()); 36 void PropagateMinusZeroChecks(HValue* value);
|