/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.helper/ |
tuple_size_incomplete.fail.cpp | 31 static size_t value; member in class:std::tuple_size 37 static void value() {} function in class:std::tuple_size 45 // Test that tuple_size<const T> is not incomplete when tuple_size<T>::value 49 (void)std::tuple_size<const Dummy1>::value; // expected-note {{here}} 51 // Test that tuple_size<const T> is not incomplete when tuple_size<T>::value 54 // expected-error@__tuple:* 1 {{value of type 'void ()' is not implicitly convertible to}} 55 (void)std::tuple_size<const Dummy2>::value; // expected-note {{here}} 58 // complete but ::value isn't a constant expression convertible to size_t. 60 // expected-error@__tuple:* 1 {{no member named 'value'}} 61 (void)std::tuple_size<const Dummy3>::value; // expected-note {{here} [all...] |
/external/mockito/src/main/java/org/mockito/ |
AdditionalMatchers.java | 45 * argument greater than or equal the given value. 49 * @param value 50 * the given value. 53 public static <T extends Comparable<T>> T geq(T value) { 54 reportMatcher(new GreaterOrEqual<T>(value)); 59 * byte argument greater than or equal to the given value. 63 * @param value 64 * the given value. 67 public static byte geq(byte value) { 68 reportMatcher(new GreaterOrEqual<Byte>(value)); [all...] |
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
ByteOutput.java | 54 * @param value the byte to be written 57 public abstract void write(byte value) throws IOException; 60 * Writes a sequence of bytes. The {@link ByteOutput} must copy {@code value} if it will 61 * not be processed prior to the return of this method call, since {@code value} may be 64 * <p>NOTE: This method <strong>MUST NOT</strong> modify the {@code value}. Doing so is a 67 * @param value the bytes to be written 72 public abstract void write(byte[] value, int offset, int length) throws IOException; 75 * Writes a sequence of bytes. The {@link ByteOutput} is free to retain a reference to the value 79 * <p>NOTE: This method <strong>MUST NOT</strong> modify the {@code value}. Doing so is a 82 * @param value the bytes to be writte [all...] |
CodedOutputStream.java | 195 public abstract void writeInt32(int fieldNumber, int value) throws IOException; 199 public abstract void writeUInt32(int fieldNumber, int value) throws IOException; 202 public final void writeSInt32(final int fieldNumber, final int value) throws IOException { 203 writeUInt32(fieldNumber, encodeZigZag32(value)); 208 public abstract void writeFixed32(int fieldNumber, int value) throws IOException; 211 public final void writeSFixed32(final int fieldNumber, final int value) throws IOException { 212 writeFixed32(fieldNumber, value); 216 public final void writeInt64(final int fieldNumber, final long value) throws IOException { 217 writeUInt64(fieldNumber, value); 222 public abstract void writeUInt64(int fieldNumber, long value) throws IOException [all...] |
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/ |
ParameterDescriptor.java | 26 private final String value; field in class:ParameterDescriptor 29 public ParameterDescriptor(String value, Type type) { 30 this.value = value; 35 return value;
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
DexDataWriter.java | 90 public void writeLong(long value) throws IOException { 91 writeInt((int)value); 92 writeInt((int)(value >> 32)); 95 public static void writeInt(OutputStream out, int value) throws IOException { 96 out.write(value); 97 out.write(value >> 8); 98 out.write(value >> 16); 99 out.write(value >> 24); 102 public void writeInt(int value) throws IOException { 103 writeInt(this, value); [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue306/ |
BeanWithId.java | 21 private int value; field in class:BeanWithId 25 return value; 28 public void setValue(int value) { 29 this.value = value;
|
/external/testng/src/test/java/test/dataprovider/ |
ConstructorInjectionProvider.java | 10 private final String value; field in class:ConstructorInjectionProvider 13 public ConstructorInjectionProvider(@Named("test") String value) { 14 this.value = value; 20 new Object[] { value },
|
/frameworks/base/core/java/com/android/internal/util/ |
ParseUtils.java | 30 /** Parse a value as a base-10 integer. */ 31 public static int parseInt(@Nullable String value, int defValue) { 32 return parseIntWithBase(value, 10, defValue); 35 /** Parse a value as an integer of a given base. */ 36 public static int parseIntWithBase(@Nullable String value, int base, int defValue) { 37 if (value == null) { 41 return Integer.parseInt(value, base); 47 /** Parse a value as a base-10 long. */ 48 public static long parseLong(@Nullable String value, long defValue) { 49 return parseLongWithBase(value, 10, defValue) [all...] |
/frameworks/base/lowpan/java/android/net/lowpan/ |
ILowpanInterfaceListener.aidl | 24 oneway void onEnabledChanged(boolean value); 26 oneway void onConnectedChanged(boolean value); 28 oneway void onUpChanged(boolean value); 30 oneway void onRoleChanged(@utf8InCpp String value); 32 oneway void onStateChanged(@utf8InCpp String value); 34 oneway void onLowpanIdentityChanged(in LowpanIdentity value); 36 oneway void onLinkNetworkAdded(in IpPrefix value); 38 oneway void onLinkNetworkRemoved(in IpPrefix value); 40 oneway void onLinkAddressAdded(@utf8InCpp String value); 42 oneway void onLinkAddressRemoved(@utf8InCpp String value); [all...] |
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/ |
ObservableField.java | 29 * field's value, not of the field itself. 41 * @param value The value to be wrapped as an observable. 43 public ObservableField(T value) { 44 mValue = value; 54 * @return the stored value. 61 * Set the stored value. 63 public void set(T value) { 64 if (value != mValue) { 65 mValue = value; [all...] |
/hardware/libhardware/modules/camera/3_4/metadata/ |
ignored_control_delegate.h | 25 // has a fixed value and ignores all requests to set it. 29 IgnoredControlDelegate(T value) : value_(value){}; 31 int GetValue(T* value) override { 32 *value = value_; 35 int SetValue(const T& value) override { return 0; };
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/tuple/tuple.tuple/tuple.helper/ |
tuple_size_incomplete.fail.cpp | 31 static size_t value; member in class:std::tuple_size 37 static void value() {} function in class:std::tuple_size 45 // Test that tuple_size<const T> is not incomplete when tuple_size<T>::value 49 (void)std::tuple_size<const Dummy1>::value; // expected-note {{here}} 51 // Test that tuple_size<const T> is not incomplete when tuple_size<T>::value 54 // expected-error@__tuple:* 1 {{value of type 'void ()' is not implicitly convertible to}} 55 (void)std::tuple_size<const Dummy2>::value; // expected-note {{here}} 58 // complete but ::value isn't a constant expression convertible to size_t. 60 // expected-error@__tuple:* 1 {{no member named 'value'}} 61 (void)std::tuple_size<const Dummy3>::value; // expected-note {{here} [all...] |
/hardware/qcom/display/msm8909/sdm/libs/utils/ |
debug.cpp | 44 int value = 0; local 45 debug_.debug_handler_->GetProperty(COMPOSITION_MASK_PROP, &value); 47 return value; 51 int value = 0; local 52 debug_.debug_handler_->GetProperty(HDMI_CONFIG_INDEX_PROP, &value); 53 return value; 68 int value = 0; local 69 debug_.debug_handler_->GetProperty(BOOT_ANIMATION_LAYER_COUNT_PROP, &value); 71 return value; 75 int value = 0 local 82 int value = 0; local 89 int value = -1; local 108 int value = 0; local 115 int value = 0; local 122 int value = 0; local 129 int value = 0; local 136 int value = 0; local 156 int value = 0; local 163 int value = 0; local 170 int value = 0; local 177 char value[64] = {}; local [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/utils/ |
debug.cpp | 44 int value = 0; local 45 debug_.debug_handler_->GetProperty("sdm.composition_simulation", &value); 47 return value; 51 int value = 0; local 52 debug_.debug_handler_->GetProperty("hw.hdmi.resolution", &value); 54 return value; 69 int value = 0; local 70 debug_.debug_handler_->GetProperty("sdm.boot_anim_layer_count", &value); 72 return value; 76 int value = 0 local 83 int value = 0; local 90 int value = -1; local 109 int value = 0; local 116 int value = 0; local 123 int value = 0; local 130 int value = 0; local 137 int value = 0; local 157 int value = 0; local 164 int value = 0; local 171 int value = 0; local 178 char value[64] = {}; local [all...] |
/external/libcxx/test/libcxx/strings/ |
iterators.noexcept.pass.cpp | 37 static_assert(( std::__libcpp_string_gets_noexcept_iterator<char *>::value), ""); 38 static_assert(( std::__libcpp_string_gets_noexcept_iterator<const char *>::value), ""); 40 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::move_iterator<char *> > ::value), ""); 41 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::move_iterator<const char *> >::value), ""); 42 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::reverse_iterator<char *> > ::value), ""); 43 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::reverse_iterator<const char *> >::value), ""); 45 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::__wrap_iter<char *> > ::value), ""); 46 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::__wrap_iter<const char *> >::value), ""); 48 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::reverse_iterator<std::__wrap_iter<char *> > > ::value), ""); 51 static_assert(( std::__libcpp_string_gets_noexcept_iterator<output_iterator <char *> >::value), ""); [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/strings/ |
iterators.noexcept.pass.cpp | 37 static_assert(( std::__libcpp_string_gets_noexcept_iterator<char *>::value), ""); 38 static_assert(( std::__libcpp_string_gets_noexcept_iterator<const char *>::value), ""); 40 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::move_iterator<char *> > ::value), ""); 41 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::move_iterator<const char *> >::value), ""); 42 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::reverse_iterator<char *> > ::value), ""); 43 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::reverse_iterator<const char *> >::value), ""); 45 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::__wrap_iter<char *> > ::value), ""); 46 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::__wrap_iter<const char *> >::value), ""); 48 static_assert(( std::__libcpp_string_gets_noexcept_iterator<std::reverse_iterator<std::__wrap_iter<char *> > > ::value), ""); 51 static_assert(( std::__libcpp_string_gets_noexcept_iterator<output_iterator <char *> >::value), ""); [all...] |
/external/protobuf/objectivec/ |
GPBCodedOutputStream.h | 76 - (void)writeRawByte:(uint8_t)value; 84 /// Write a 32bit value out in little endian format. 85 - (void)writeRawLittleEndian32:(int32_t)value; 86 /// Write a 64bit value out in little endian format. 87 - (void)writeRawLittleEndian64:(int64_t)value; 89 /// Write a 32bit value out in varint format. 90 - (void)writeRawVarint32:(int32_t)value; 91 /// Write a 64bit value out in varint format. 92 - (void)writeRawVarint64:(int64_t)value; 94 /// Write a size_t out as a 32bit varint value [all...] |
/external/autotest/client/cros/ |
dbus_util.py | 12 def dbus2primitive(value): 15 @param value: dbus object to convert to a primitive. 18 if isinstance(value, dbus.Boolean): 19 return bool(value) 20 elif isinstance(value, int): 21 return int(value) 22 elif isinstance(value, dbus.UInt16): 23 return long(value) 24 elif isinstance(value, dbus.UInt32): 25 return long(value) [all...] |
/external/dexmaker/dexmaker/src/main/java/com/android/dx/ |
Constants.java | 39 * Returns a rop constant for the specified value. 41 * @param value null, a boxed primitive, String, Class, or TypeId. 43 static TypedConstant getConstant(Object value) { 44 if (value == null) { 46 } else if (value instanceof Boolean) { 47 return CstBoolean.make((Boolean) value); 48 } else if (value instanceof Byte) { 49 return CstByte.make((Byte) value); 50 } else if (value instanceof Character) { 51 return CstChar.make((Character) value); [all...] |
/external/libcxx/test/std/utilities/function.objects/arithmetic.operations/ |
transparent.pass.cpp | 22 static const bool value = sizeof(test<T>(0)) == 1; member in struct:is_transparent 28 static_assert ( !is_transparent<std::plus<int>>::value, "" ); 29 static_assert ( !is_transparent<std::plus<std::string>>::value, "" ); 30 static_assert ( is_transparent<std::plus<void>>::value, "" ); 31 static_assert ( is_transparent<std::plus<>>::value, "" ); 33 static_assert ( !is_transparent<std::minus<int>>::value, "" ); 34 static_assert ( !is_transparent<std::minus<std::string>>::value, "" ); 35 static_assert ( is_transparent<std::minus<void>>::value, "" ); 36 static_assert ( is_transparent<std::minus<>>::value, "" ); 38 static_assert ( !is_transparent<std::multiplies<int>>::value, "" ); [all...] |
/external/libcxx/test/std/utilities/function.objects/comparisons/ |
transparent.pass.cpp | 22 static const bool value = sizeof(test<T>(0)) == 1; member in struct:is_transparent 28 static_assert ( !is_transparent<std::less<int>>::value, "" ); 29 static_assert ( !is_transparent<std::less<std::string>>::value, "" ); 30 static_assert ( is_transparent<std::less<void>>::value, "" ); 31 static_assert ( is_transparent<std::less<>>::value, "" ); 33 static_assert ( !is_transparent<std::less_equal<int>>::value, "" ); 34 static_assert ( !is_transparent<std::less_equal<std::string>>::value, "" ); 35 static_assert ( is_transparent<std::less_equal<void>>::value, "" ); 36 static_assert ( is_transparent<std::less_equal<>>::value, "" ); 38 static_assert ( !is_transparent<std::equal_to<int>>::value, "" ); [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/arithmetic.operations/ |
transparent.pass.cpp | 22 static const bool value = sizeof(__test<_Tp>(0)) == 1; member in struct:is_transparent 28 static_assert ( !is_transparent<std::plus<int>>::value, "" ); 29 static_assert ( !is_transparent<std::plus<std::string>>::value, "" ); 30 static_assert ( is_transparent<std::plus<void>>::value, "" ); 31 static_assert ( is_transparent<std::plus<>>::value, "" ); 33 static_assert ( !is_transparent<std::minus<int>>::value, "" ); 34 static_assert ( !is_transparent<std::minus<std::string>>::value, "" ); 35 static_assert ( is_transparent<std::minus<void>>::value, "" ); 36 static_assert ( is_transparent<std::minus<>>::value, "" ); 38 static_assert ( !is_transparent<std::multiplies<int>>::value, "" ); [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/utilities/function.objects/comparisons/ |
transparent.pass.cpp | 22 static const bool value = sizeof(__test<_Tp>(0)) == 1; member in struct:is_transparent 28 static_assert ( !is_transparent<std::less<int>>::value, "" ); 29 static_assert ( !is_transparent<std::less<std::string>>::value, "" ); 30 static_assert ( is_transparent<std::less<void>>::value, "" ); 31 static_assert ( is_transparent<std::less<>>::value, "" ); 33 static_assert ( !is_transparent<std::less_equal<int>>::value, "" ); 34 static_assert ( !is_transparent<std::less_equal<std::string>>::value, "" ); 35 static_assert ( is_transparent<std::less_equal<void>>::value, "" ); 36 static_assert ( is_transparent<std::less_equal<>>::value, "" ); 38 static_assert ( !is_transparent<std::equal_to<int>>::value, "" ); [all...] |
/external/libcxx/test/support/ |
emplace_constructible.h | 9 T value; member in struct:EmplaceConstructible 10 explicit EmplaceConstructible(T xvalue) : value(xvalue) {} 17 T value; member in struct:EmplaceConstructibleAndMoveInsertable 18 explicit EmplaceConstructibleAndMoveInsertable(T xvalue) : value(xvalue) {} 22 : copied(Other.copied + 1), value(std::move(Other.value)) {} 29 T value; member in struct:EmplaceConstructibleAndMoveable 30 explicit EmplaceConstructibleAndMoveable(T xvalue) noexcept : value(xvalue) {} 34 value(std::move(Other.value)) {} 49 T value; member in struct:EmplaceConstructibleMoveableAndAssignable [all...] |