/hardware/interfaces/configstore/1.0/ |
ISurfaceFlingerConfigs.hal | 40 vsyncEventPhaseOffsetNs() generates (OptionalInt64 value); 41 vsyncSfEventPhaseOffsetNs() generates (OptionalInt64 value); 47 useContextPriority() generates(OptionalBool value); 61 hasWideColorDisplay() generates (OptionalBool value); 70 hasHDRDisplay() generates (OptionalBool value); 76 presentTimeOffsetFromVSyncNs() generates(OptionalInt64 value); 84 useHwcForRGBtoYUV() generates(OptionalBool value); 90 maxVirtualDisplaySize() generates (OptionalUInt64 value); 96 hasSyncFramework() generates(OptionalBool value); 104 useVrFlinger() generates (OptionalBool value); [all...] |
/libcore/ojluni/src/main/java/java/text/ |
EntryPair.java | 43 * is the contracting character name and value is its collation 49 public int value; field in class:EntryPair 52 public EntryPair(String name, int value) { 53 this(name, value, true); 55 public EntryPair(String name, int value, boolean fwd) { 57 this.value = value;
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
DurationCountEvaluator.java | 20 public static float evaluate(float value) { 22 if (value < 0.0105) { 25 if (value < 0.00909) { 28 if (value < 0.00667) { 31 if (value > 0.0333) { 34 if (value > 0.0500) {
|
SpeedRatioEvaluator.java | 20 public static float evaluate(float value) { 22 if (value == 0) { 25 if (value <= 1.0) { 28 if (value <= 0.5) { 31 if (value > 9.0) { 34 if (value > 18.0) {
|
/external/libmojo/third_party/jinja2/ |
tests.py | 23 def test_odd(value): 25 return value % 2 == 1 28 def test_even(value): 30 return value % 2 == 0 33 def test_divisibleby(value, num): 35 return value % num == 0 38 def test_defined(value): 44 value of variable: {{ variable }} 52 return not isinstance(value, Undefined) 55 def test_undefined(value) [all...] |
/libcore/json/src/main/java/org/json/ |
JSON.java | 21 * Returns the input if it is a JSON-permissible value; throws otherwise. 25 throw new JSONException("Forbidden numeric value: " + d); 30 static Boolean toBoolean(Object value) { 31 if (value instanceof Boolean) { 32 return (Boolean) value; 33 } else if (value instanceof String) { 34 String stringValue = (String) value; 44 static Double toDouble(Object value) { 45 if (value instanceof Double) { 46 return (Double) value; [all...] |
/external/guava/guava/src/com/google/common/collect/ |
Count.java | 24 * A mutable value of type {@code int}, for multisets to use in tracking counts of values. 30 private int value; field in class:Count 32 Count(int value) { 33 this.value = value; 37 return value; 41 int result = value; 42 value = result + delta; 47 return value += delta; 51 value = newValue [all...] |
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.type/ |
p21.cpp | 8 static const unsigned value = 0; member in struct:X 12 static const unsigned value = 1; member in struct:X 16 static const unsigned value = 0; member in struct:Y 20 static const unsigned value = 1; member in struct:Y 26 int check0[X<int>::value == 0? 1 : -1]; // uses primary template 27 int check1[X<int(int, float, double)>::value == 1? 1 : -1]; // uses partial specialization 28 int check2[X<int(float, int)>::value == 0? 1 : -1]; // uses primary template 29 int check3[Y<>::value == 0? 1 : -1]; // uses primary template 30 int check4[Y<int&, float&, double&>::value == 1? 1 : -1]; // uses partial specialization 31 int check5[Y<int, float, double>::value == 0? 1 : -1]; // uses primary templat [all...] |
/external/libchrome/base/json/ |
json_value_converter.cc | 11 const base::Value& value, int* field) const { 12 return value.GetAsInteger(field); 16 const base::Value& value, std::string* field) const { 17 return value.GetAsString(field); 21 const base::Value& value, string16* field) const { 22 return value.GetAsString(field); 26 const base::Value& value, double* field) const [all...] |
/external/lzma/CPP/Common/ |
IntToString.h | 8 void ConvertUInt32ToString(UInt32 value, char *s) throw();
9 void ConvertUInt64ToString(UInt64 value, char *s) throw();
11 void ConvertUInt32ToString(UInt32 value, wchar_t *s) throw();
12 void ConvertUInt64ToString(UInt64 value, wchar_t *s) throw();
14 void ConvertUInt64ToOct(UInt64 value, char *s) throw();
16 void ConvertUInt32ToHex(UInt32 value, char *s) throw();
17 void ConvertUInt64ToHex(UInt64 value, char *s) throw();
18 void ConvertUInt32ToHex8Digits(UInt32 value, char *s) throw();
19 // void ConvertUInt32ToHex8Digits(UInt32 value, wchar_t *s) throw();
21 void ConvertInt64ToString(Int64 value, char *s) throw(); [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/value/ |
ImmutableBooleanEncodedValue.java | 32 package org.jf.dexlib2.immutable.value; 34 import org.jf.dexlib2.base.value.BaseBooleanEncodedValue; 35 import org.jf.dexlib2.iface.value.BooleanEncodedValue; 41 protected final boolean value; field in class:ImmutableBooleanEncodedValue 43 private ImmutableBooleanEncodedValue(boolean value) { 44 this.value = value; 47 public static ImmutableBooleanEncodedValue forBoolean(boolean value) { 48 return value?TRUE_VALUE:FALSE_VALUE; 55 @Override public boolean getValue() { return value; } [all...] |
/external/valgrind/none/tests/s390x/ |
flogr.c | 21 register unsigned long value asm("4") = input; 29 : [val] "d"(value) 34 printf("value = %lx, bitpos = %lu, modval = %lx, cc = %d\n", 35 value, *bitpos, *modval, *cc); 45 register unsigned long value asm("2") = input; 52 [psw]"=&d"(psw), [val] "+d"(value) 58 printf("value = %lx, bitpos = %lu, modval = %lx, cc = %d\n", 59 value, *bitpos, *modval, *cc); 69 register unsigned long value asm("3") = input; 76 [psw]"=&d"(psw), [val] "+d"(value) 91 unsigned long bitpos, modval, value; local [all...] |
/external/libnetfilter_conntrack/src/expect/ |
setter.c | 12 static void set_exp_attr_master(struct nf_expect *exp, const void *value) 14 exp->master = *((struct nfct_tuple_head *) value); 17 static void set_exp_attr_expected(struct nf_expect *exp, const void *value) 19 exp->expected = *((struct nfct_tuple_head *) value); 22 static void set_exp_attr_mask(struct nf_expect *exp, const void *value) 24 exp->mask = *((struct nfct_tuple_head *) value); 27 static void set_exp_attr_timeout(struct nf_expect *exp, const void *value) 29 exp->timeout = *((uint32_t *) value); 32 static void set_exp_attr_zone(struct nf_expect *exp, const void *value) 34 exp->zone = *((uint16_t *) value); [all...] |
/external/ImageMagick/MagickCore/ |
string-private.h | 34 value; local 36 value=InterpretSiPrefixValue(string,&q); 38 value*=interval/100.0; 39 return(value); 55 value; local 57 value=InterpretLocaleValue(string,&q); 59 value*=interval/100.0; 60 return(value); 63 static inline int StringToInteger(const char *magick_restrict value) 65 return((int) strtol(value,(char **) NULL,10)) [all...] |
/prebuilts/ndk/r11/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/meta/meta.unary/meta.unary.cat/ |
lvalue_ref.pass.cpp | 19 static_assert(!std::is_void<T>::value, ""); 21 static_assert(!std::is_null_pointer<T>::value, ""); 23 static_assert(!std::is_integral<T>::value, ""); 24 static_assert(!std::is_floating_point<T>::value, ""); 25 static_assert(!std::is_array<T>::value, ""); 26 static_assert(!std::is_pointer<T>::value, ""); 27 static_assert( std::is_lvalue_reference<T>::value, ""); 28 static_assert(!std::is_rvalue_reference<T>::value, ""); 29 static_assert(!std::is_member_object_pointer<T>::value, ""); 30 static_assert(!std::is_member_function_pointer<T>::value, ""); [all...] |
rvalue_ref.pass.cpp | 19 static_assert(!std::is_void<T>::value, ""); 21 static_assert(!std::is_null_pointer<T>::value, ""); 23 static_assert(!std::is_integral<T>::value, ""); 24 static_assert(!std::is_floating_point<T>::value, ""); 25 static_assert(!std::is_array<T>::value, ""); 26 static_assert(!std::is_pointer<T>::value, ""); 27 static_assert(!std::is_lvalue_reference<T>::value, ""); 28 static_assert( std::is_rvalue_reference<T>::value, ""); 29 static_assert(!std::is_member_object_pointer<T>::value, ""); 30 static_assert(!std::is_member_function_pointer<T>::value, ""); [all...] |
/system/tpm/attestation/common/ |
print_common_proto.h | 28 std::string GetProtoDebugStringWithIndent(KeyType value, int indent_size); 29 std::string GetProtoDebugString(KeyType value); 30 std::string GetProtoDebugStringWithIndent(KeyUsage value, int indent_size); 31 std::string GetProtoDebugString(KeyUsage value); 32 std::string GetProtoDebugStringWithIndent(CertificateProfile value, 34 std::string GetProtoDebugString(CertificateProfile value); 35 std::string GetProtoDebugStringWithIndent(const Quote& value, int indent_size); 36 std::string GetProtoDebugString(const Quote& value); 37 std::string GetProtoDebugStringWithIndent(const EncryptedData& value, 39 std::string GetProtoDebugString(const EncryptedData& value); [all...] |
/external/libcxx/test/libcxx/utilities/meta/ |
is_referenceable.pass.cpp | 25 static_assert((!std::__is_referenceable<void>::value), ""); 26 static_assert(( std::__is_referenceable<int>::value), ""); 27 static_assert(( std::__is_referenceable<int[3]>::value), ""); 28 static_assert(( std::__is_referenceable<int[]>::value), ""); 29 static_assert(( std::__is_referenceable<int &>::value), ""); 30 static_assert(( std::__is_referenceable<const int &>::value), ""); 31 static_assert(( std::__is_referenceable<int *>::value), ""); 32 static_assert(( std::__is_referenceable<const int *>::value), ""); 33 static_assert(( std::__is_referenceable<Foo>::value), ""); 34 static_assert(( std::__is_referenceable<const Foo>::value), ""); [all...] |
/prebuilts/ndk/r13/sources/cxx-stl/llvm-libc++/test/libcxx/utilities/meta/ |
is_referenceable.pass.cpp | 25 static_assert((!std::__is_referenceable<void>::value), ""); 26 static_assert(( std::__is_referenceable<int>::value), ""); 27 static_assert(( std::__is_referenceable<int[3]>::value), ""); 28 static_assert(( std::__is_referenceable<int[]>::value), ""); 29 static_assert(( std::__is_referenceable<int &>::value), ""); 30 static_assert(( std::__is_referenceable<const int &>::value), ""); 31 static_assert(( std::__is_referenceable<int *>::value), ""); 32 static_assert(( std::__is_referenceable<const int *>::value), ""); 33 static_assert(( std::__is_referenceable<Foo>::value), ""); 34 static_assert(( std::__is_referenceable<const Foo>::value), ""); [all...] |
/external/boringssl/src/crypto/asn1/ |
a_utf8.c | 66 * to the string and the length of the string. It sets 'value' to the value 76 unsigned long value; local 82 /* Check syntax and work out the encoded value (if correct) */ 84 value = *p++ & 0x7f; 91 value = (*p++ & 0x1f) << 6; 92 value |= *p++ & 0x3f; 93 if (value < 0x80) 102 value = (*p++ & 0xf) << 12; 103 value |= (*p++ & 0x3f) << 6 [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
Leb128Utils.java | 32 * given value. 34 * @param value the value in question 37 public static int unsignedLeb128Size(int value) { 40 int remaining = value >> 7; 53 * given value. 55 * @param value the value in question 58 public static int signedLeb128Size(int value) { 61 int remaining = value >> 7 [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/ |
Segment.java | 25 private Number value; field in class:Segment 27 public Segment(String title, Number value) { 29 this.setValue(value); 42 return value; 45 public void setValue(Number value) { 46 this.value = value;
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.static/ |
p1-inst.cpp | 9 static T value; member in struct:X 13 T X<T>::value = 17; // expected-error{{no viable conversion}} member in class:X 24 int &returnInt() { return X<int>::value; } 25 float &returnFloat() { return X<float>::value; } 27 InitOkay &returnInitOkay() { return X<InitOkay>::value; } 29 unsigned long sizeOkay() { return sizeof(X<CannotInit>::value); } 32 return X<CannotInit>::value; // expected-note{{instantiation}}
|
/external/jsilver/src/com/google/clearsilver/jsilver/values/ |
StringValue.java | 22 * A simple string value. 24 * @see Value 28 private final String value; field in class:StringValue 30 public StringValue(String value, EscapeMode escapeMode, boolean partiallyEscaped) { 32 this.value = value; 36 protected String value() { method in class:StringValue 37 return value; 47 return value.length() == 0;
|
/external/libcxx/test/std/language.support/support.types/ |
max_align_t.pass.cpp | 20 static_assert(std::is_pod<std::max_align_t>::value, 21 "std::is_pod<std::max_align_t>::value"); 22 static_assert((std::alignment_of<std::max_align_t>::value >= 23 std::alignment_of<long long>::value), 24 "std::alignment_of<std::max_align_t>::value >= " 25 "std::alignment_of<long long>::value"); 26 static_assert(std::alignment_of<std::max_align_t>::value >= 27 std::alignment_of<long double>::value, 28 "std::alignment_of<std::max_align_t>::value >= " 29 "std::alignment_of<long double>::value"); [all...] |