/external/marisa-trie/v0_1_5/lib/marisa_alpha/ |
rank.h | 12 void set_abs(UInt32 value) { 13 abs_ = value; 15 void set_rel1(UInt32 value) { 16 MARISA_ALPHA_DEBUG_IF(value > 64, MARISA_ALPHA_PARAM_ERROR); 17 rel_lo_ = (rel_lo_ & ~0x7FU) | (value & 0x7FU); 19 void set_rel2(UInt32 value) { 20 MARISA_ALPHA_DEBUG_IF(value > 128, MARISA_ALPHA_PARAM_ERROR); 21 rel_lo_ = (rel_lo_ & ~(0xFFU << 7)) | ((value & 0xFFU) << 7); 23 void set_rel3(UInt32 value) { 24 MARISA_ALPHA_DEBUG_IF(value > 192, MARISA_ALPHA_PARAM_ERROR) [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/proguard/src/proguard/evaluation/value/ |
ParticularDoubleValue.java | 21 package proguard.evaluation.value; 24 * This DoubleValue represents a particular double value. 30 private final double value; field in class:ParticularDoubleValue 34 * Creates a new particular double value. 36 public ParticularDoubleValue(double value) 38 this.value = value; 44 public double value() method in class:ParticularDoubleValue 46 return value; 54 return new ParticularDoubleValue(-value); [all...] |
ParticularFloatValue.java | 21 package proguard.evaluation.value; 24 * This FloatValue represents a particular float value. 30 private final float value; field in class:ParticularFloatValue 34 * Creates a new particular float value. 36 public ParticularFloatValue(float value) 38 this.value = value; 44 public float value() method in class:ParticularFloatValue 46 return value; 54 return new ParticularFloatValue(-value); [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowBundle.java | 44 public void putString(String key, String value) { 45 map.put(key, value); 50 Object value = map.get(key); local 51 return value == null || !(value instanceof String) ? null : (String) value; 59 Object value = map.get(key); local 60 return value == null || !(value instanceof String) ? defaultValue : (String) value; 75 Object value = map.get(key); local 91 Object value = map.get(key); local 107 Object value = map.get(key); local 123 Object value = map.get(key); local 139 Object value = map.get(key); local 150 Object value = map.get(key); local 166 Object value = map.get(key); local 177 Object value = map.get(key); local 193 Object value = map.get(key); local 199 Object value = map.get(key); local 206 Object value = map.get(key); local 222 Object value = map.get(key); local 233 Object value = map.get(key); local 245 Object value = map.get(key); local 256 Object value = map.get(key); local 267 Object value = map.get(key); local 278 Object value = map.get(key); local 289 Object value = map.get(key); local 300 Object value = map.get(key); local 311 Object value = map.get(key); local 322 Object value = map.get(key); local 333 Object value = map.get(key); local 344 Object value = map.get(key); local 360 Object value = map.get(key); local 371 Object value = map.get(key); local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/tsp/ |
PKIFailureInfo.java | 50 The value of PKIFailureInfo can take only one of the values, 95 private final int value; field in class:PKIFailureInfo 99 PKIFailureInfo(int value) { 100 this.value = value; 104 * @return int value of the failure 107 return value; 116 if (cur.value > maxValue) { 117 maxValue = cur.value; 124 * @param value [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/meta/meta.unary/meta.unary.prop/ |
is_constructible.pass.cpp | 27 static_assert((std::is_constructible<int>::value), ""); 28 static_assert((std::is_constructible<int, const int>::value), ""); 29 static_assert((std::is_constructible<A, int>::value), ""); 30 static_assert((std::is_constructible<A, int, double>::value), ""); 31 static_assert((!std::is_constructible<A>::value), ""); 32 static_assert((!std::is_constructible<A, char>::value), ""); 33 static_assert((!std::is_constructible<A, void>::value), ""); 34 static_assert((!std::is_constructible<void>::value), ""); 35 static_assert((!std::is_constructible<int&>::value), ""); 36 static_assert(( std::is_constructible<int&, int&>::value), ""); [all...] |
is_nothrow_assignable.pass.cpp | 27 static_assert(( std::is_nothrow_assignable<int&, int&>::value), ""); 28 static_assert(( std::is_nothrow_assignable<int&, int>::value), ""); 29 static_assert((!std::is_nothrow_assignable<int, int&>::value), ""); 30 static_assert((!std::is_nothrow_assignable<int, int>::value), ""); 31 static_assert(( std::is_nothrow_assignable<int&, double>::value), ""); 32 static_assert((!std::is_nothrow_assignable<B, A>::value), ""); 33 static_assert((!std::is_nothrow_assignable<A, B>::value), "");
|
is_trivially_assignable.pass.cpp | 27 static_assert(( std::is_trivially_assignable<int&, int&>::value), ""); 28 static_assert(( std::is_trivially_assignable<int&, int>::value), ""); 29 static_assert((!std::is_trivially_assignable<int, int&>::value), ""); 30 static_assert((!std::is_trivially_assignable<int, int>::value), ""); 31 static_assert(( std::is_trivially_assignable<int&, double>::value), ""); 32 static_assert((!std::is_trivially_assignable<B, A>::value), ""); 33 static_assert((!std::is_trivially_assignable<A, B>::value), "");
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
EncodedValueUtils.java | 32 public static byte getRequiredBytesForSignedIntegralValue(long value) { 34 * Figure out how many bits are needed to represent the value, 43 65 - Long.numberOfLeadingZeros(value ^ (value >> 63)); 50 long value = 0; local 52 value |= (((long)(bytes[i] & 0xFF)) << (i * 8)); 56 return value << shift >> shift; 59 public static byte[] encodeSignedIntegralValue(long value) { 60 int requiredBytes = getRequiredBytesForSignedIntegralValue(value); 65 bytes[i] = (byte) value; 87 long value = 0; local 122 long value = 0; local [all...] |
/external/valgrind/main/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/smali/dexlib/src/main/java/org/jf/dexlib/EncodedValue/ |
ByteEncodedValue.java | 36 public final byte value; field in class:ByteEncodedValue 39 * Constructs a new <code>ByteEncodedValue</code> by reading the value from the given <code>Input</code> object. 40 * The <code>Input</code>'s cursor should be set to the 2nd byte of the encoded value 44 value = (byte)EncodedValueUtils.decodeSignedIntegralValue(in.readBytes(1)); 48 * Constructs a new <code>ByteEncodedValue</code> with the given value 49 * @param value The value 51 public ByteEncodedValue(byte value) { 52 this.value = value; [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Statements/ |
try-008.js | 22 function Integer( value, exception ) { 24 this.value = checkValue( value ); 26 this.value = e.toString(); 31 "Integer( " + value +" )", 32 (exception ? INVALID_INTEGER_VALUE +": " + value : this.value), 33 this.value ); 36 var INVALID_INTEGER_VALUE = "Invalid value for java.lang.Integer constructor"; 38 function checkValue( value ) { [all...] |
/external/webkit/Source/WebCore/bindings/js/ |
JSCSSValueCustom.cpp | 47 JSValue toJS(ExecState* exec, JSDOMGlobalObject* globalObject, CSSValue* value) 49 if (!value) 52 JSDOMWrapper* wrapper = getCachedWrapper(currentWorld(exec), value); 57 if (value->isWebKitCSSTransformValue()) 58 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, WebKitCSSTransformValue, value); 59 else if (value->isValueList()) 60 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSValueList, value); 62 else if (value->isSVGPaint()) 63 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, SVGPaint, value); 64 else if (value->isSVGColor() [all...] |
/external/webkit/Source/JavaScriptCore/wtf/ |
TypeTraits.cpp | 29 COMPILE_ASSERT(IsInteger<bool>::value, WTF_IsInteger_bool_true); 30 COMPILE_ASSERT(IsInteger<char>::value, WTF_IsInteger_char_true); 31 COMPILE_ASSERT(IsInteger<signed char>::value, WTF_IsInteger_signed_char_true); 32 COMPILE_ASSERT(IsInteger<unsigned char>::value, WTF_IsInteger_unsigned_char_true); 33 COMPILE_ASSERT(IsInteger<short>::value, WTF_IsInteger_short_true); 34 COMPILE_ASSERT(IsInteger<unsigned short>::value, WTF_IsInteger_unsigned_short_true); 35 COMPILE_ASSERT(IsInteger<int>::value, WTF_IsInteger_int_true); 36 COMPILE_ASSERT(IsInteger<unsigned int>::value, WTF_IsInteger_unsigned_int_true); 37 COMPILE_ASSERT(IsInteger<long>::value, WTF_IsInteger_long_true); 38 COMPILE_ASSERT(IsInteger<unsigned long>::value, WTF_IsInteger_unsigned_long_true) [all...] |
/external/openssl/crypto/asn1/ |
a_utf8.c | 67 * to the string and the length of the string. It sets 'value' to the value of 79 unsigned long value; local 84 /* Check syntax and work out the encoded value (if correct) */ 86 value = *p++ & 0x7f; 91 value = (*p++ & 0x1f) << 6; 92 value |= *p++ & 0x3f; 93 if(value < 0x80) return -4; 99 value = (*p++ & 0xf) << 12; 100 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/clang/test/CXX/temp/temp.decls/temp.class/temp.static/ |
p1-inst.cpp | 7 static T value; member in struct:X 11 T X<T>::value = 17; // expected-error{{no viable conversion}} member in class:X 19 int &returnInt() { return X<int>::value; } 20 float &returnFloat() { return X<float>::value; } 22 InitOkay &returnInitOkay() { return X<InitOkay>::value; } 24 unsigned long sizeOkay() { return sizeof(X<CannotInit>::value); } 27 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;
|
/ndk/sources/cxx-stl/llvm-libc++/test/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...] |
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/meta/meta.unary/meta.unary.comp/ |
lvalue_ref.pass.cpp | 19 static_assert( std::is_reference<T>::value, ""); 20 static_assert(!std::is_arithmetic<T>::value, ""); 21 static_assert(!std::is_fundamental<T>::value, ""); 22 static_assert(!std::is_object<T>::value, ""); 23 static_assert(!std::is_scalar<T>::value, ""); 24 static_assert( std::is_compound<T>::value, ""); 25 static_assert(!std::is_member_pointer<T>::value, "");
|
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
TypeConverter.java | 43 String value = data != null ? data.getValue() : null; local 44 return value != null ? value : ""; 66 * In JSilver: A string must be a complete, valid numeric value for parsing. This means {@code 75 public static int parseNumber(String value) throws NumberFormatException { 78 if (value.startsWith("0x") || value.startsWith("0X")) { 79 return Integer.parseInt(value.substring(2), 16); 81 return Integer.parseInt(value); 88 public static int asNumber(String value) { [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
DERBoolean.java | 14 final private byte[] value; field in class:DERBoolean 46 boolean value) 48 return (value ? TRUE : FALSE); 55 int value) 57 return (value != 0 ? TRUE : FALSE); 99 byte[] value) 101 if (value.length != 1) 103 throw new IllegalArgumentException("byte value should have 1 byte in it"); 106 if (value[0] == 0) 108 this.value = FALSE_VALUE [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
CodedOutputStream.java | 134 public void writeDouble(final int fieldNumber, final double value) 137 writeDoubleNoTag(value); 141 public void writeFloat(final int fieldNumber, final float value) 144 writeFloatNoTag(value); 148 public void writeUInt64(final int fieldNumber, final long value) 151 writeUInt64NoTag(value); 155 public void writeInt64(final int fieldNumber, final long value) 158 writeInt64NoTag(value); 162 public void writeInt32(final int fieldNumber, final int value) 165 writeInt32NoTag(value); [all...] |
/bionic/libc/kernel/arch-arm/asm/arch/ |
mcbsp.h | 42 #define RINTM(value) ((value)<<4) 46 #define CLKSTP(value) ((value)<<11) 47 #define RJUST(value) ((value)<<13) 55 #define XINTM(value) ((value)<<4) 80 #define RWDLEN1(value) ((value)<<5 [all...] |