Home
last modified time | relevance | path

Searched refs:value (Results 1 – 25 of 2344) sorted by relevance

12345678910>>...94

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dtype_traits_unittest.cc175 EXPECT_TRUE(is_integral<bool>::value); in TEST()
176 EXPECT_TRUE(is_integral<char>::value); in TEST()
177 EXPECT_TRUE(is_integral<unsigned char>::value); in TEST()
178 EXPECT_TRUE(is_integral<signed char>::value); in TEST()
179 EXPECT_TRUE(is_integral<wchar_t>::value); in TEST()
180 EXPECT_TRUE(is_integral<int>::value); in TEST()
181 EXPECT_TRUE(is_integral<unsigned int>::value); in TEST()
182 EXPECT_TRUE(is_integral<short>::value); in TEST()
183 EXPECT_TRUE(is_integral<unsigned short>::value); in TEST()
184 EXPECT_TRUE(is_integral<long>::value); in TEST()
[all …]
Dtemplate_util_unittest.cc56 EXPECT_TRUE(true_type::value); in TEST()
57 EXPECT_FALSE(false_type::value); in TEST()
60 EXPECT_EQ(1, one_type::value); in TEST()
65 EXPECT_TRUE(if_true::value); in TEST()
68 EXPECT_FALSE(if_false::value); in TEST()
73 bool value = false; in TEST() local
76 value = type_equals_<int, int>::value; in TEST()
77 EXPECT_TRUE(value); in TEST()
80 value = type_equals_<float, int>::value; in TEST()
81 EXPECT_FALSE(value); in TEST()
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/
DCodedOutputStream.java229 public abstract void writeInt32(int fieldNumber, int value) throws IOException; in writeInt32() argument
233 public abstract void writeUInt32(int fieldNumber, int value) throws IOException; in writeUInt32() argument
236 public final void writeSInt32(final int fieldNumber, final int value) throws IOException { in writeSInt32() argument
237 writeUInt32(fieldNumber, encodeZigZag32(value)); in writeSInt32()
242 public abstract void writeFixed32(int fieldNumber, int value) throws IOException; in writeFixed32() argument
245 public final void writeSFixed32(final int fieldNumber, final int value) throws IOException { in writeSFixed32() argument
246 writeFixed32(fieldNumber, value); in writeSFixed32()
250 public final void writeInt64(final int fieldNumber, final long value) throws IOException { in writeInt64() argument
251 writeUInt64(fieldNumber, value); in writeInt64()
256 public abstract void writeUInt64(int fieldNumber, long value) throws IOException; in writeUInt64() argument
[all …]
/frameworks/base/media/mca/filterfw/native/core/
Dvalue.cpp34 POD GetPODValue(Value value) { in GetPODValue() argument
35 return value.type == TYPEID ? *reinterpret_cast<POD*>(value.value) : POD(); in GetPODValue()
39 PTR GetPtrValue(Value value) { in GetPtrValue() argument
40 return value.type == TYPEID ? reinterpret_cast<PTR>(value.value) : NULL; in GetPtrValue()
44 Value MakePODValue(POD value) { in MakePODValue() argument
47 result.value = malloc(sizeof(POD)); in MakePODValue()
49 *reinterpret_cast<POD*>(result.value) = value; in MakePODValue()
57 result.value = malloc(sizeof(BASE) * count); in MakePtrValue()
58 memcpy(result.value, values, sizeof(BASE) * count); in MakePtrValue()
64 int SetPODValue(Value* value, POD new_value) { in SetPODValue() argument
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/js/binary/
Dwriter.js289 jspb.BinaryWriter.prototype.writeAny = function(fieldType, field, value) { argument
293 this.writeDouble(field, /** @type {number} */(value));
296 this.writeFloat(field, /** @type {number} */(value));
299 this.writeInt64(field, /** @type {number} */(value));
302 this.writeUint64(field, /** @type {number} */(value));
305 this.writeInt32(field, /** @type {number} */(value));
308 this.writeFixed64(field, /** @type {number} */(value));
311 this.writeFixed32(field, /** @type {number} */(value));
314 this.writeBool(field, /** @type {boolean} */(value));
317 this.writeString(field, /** @type {string} */(value));
[all …]
Dencoder.js107 jspb.BinaryEncoder.prototype.writeUnsignedVarint32 = function(value) { argument
108 goog.asserts.assert(value == Math.floor(value));
109 goog.asserts.assert((value >= 0) &&
110 (value < jspb.BinaryConstants.TWO_TO_32));
112 while (value > 127) {
113 this.buffer_.push((value & 0x7f) | 0x80);
114 value = value >>> 7;
117 this.buffer_.push(value);
126 jspb.BinaryEncoder.prototype.writeSignedVarint32 = function(value) { argument
127 goog.asserts.assert(value == Math.floor(value));
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/
DCodedOutputByteBufferNano.java93 public void writeDouble(final int fieldNumber, final double value) in writeDouble() argument
96 writeDoubleNoTag(value); in writeDouble()
100 public void writeFloat(final int fieldNumber, final float value) in writeFloat() argument
103 writeFloatNoTag(value); in writeFloat()
107 public void writeUInt64(final int fieldNumber, final long value) in writeUInt64() argument
110 writeUInt64NoTag(value); in writeUInt64()
114 public void writeInt64(final int fieldNumber, final long value) in writeInt64() argument
117 writeInt64NoTag(value); in writeInt64()
121 public void writeInt32(final int fieldNumber, final int value) in writeInt32() argument
124 writeInt32NoTag(value); in writeInt32()
[all …]
DFieldData.java44 private Object value; field in FieldData
50 value = newValue; in FieldData()
79 if (value != null){ in getValue()
86 value = extension.getValueFrom(unknownFieldData); in getValue()
89 return (T) value; in getValue()
94 value = newValue; in setValue()
100 if (value != null) { in computeSerializedSize()
101 size = cachedExtension.computeSerializedSize(value); in computeSerializedSize()
111 if (value != null) { in writeTo()
112 cachedExtension.writeTo(value, output); in writeTo()
[all …]
/frameworks/base/tools/aapt2/
DValueVisitor.h31 virtual void VisitAny(Value* value) {} in VisitAny() argument
32 virtual void VisitItem(Item* value) { VisitAny(value); } in VisitItem() argument
33 virtual void Visit(Reference* value) { VisitItem(value); } in Visit() argument
34 virtual void Visit(RawString* value) { VisitItem(value); } in Visit() argument
35 virtual void Visit(String* value) { VisitItem(value); } in Visit() argument
36 virtual void Visit(StyledString* value) { VisitItem(value); } in Visit() argument
37 virtual void Visit(FileReference* value) { VisitItem(value); } in Visit() argument
38 virtual void Visit(Id* value) { VisitItem(value); } in Visit() argument
39 virtual void Visit(BinaryPrimitive* value) { VisitItem(value); } in Visit() argument
41 virtual void Visit(Attribute* value) { VisitAny(value); } in Visit() argument
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/internal/
Dencoder.py82 def _VarintSize(value): argument
84 if value <= 0x7f: return 1
85 if value <= 0x3fff: return 2
86 if value <= 0x1fffff: return 3
87 if value <= 0xfffffff: return 4
88 if value <= 0x7ffffffff: return 5
89 if value <= 0x3ffffffffff: return 6
90 if value <= 0x1ffffffffffff: return 7
91 if value <= 0xffffffffffffff: return 8
92 if value <= 0x7fffffffffffffff: return 9
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBCodedOutputStream.h76 - (void)writeRawByte:(uint8_t)value;
85 - (void)writeRawLittleEndian32:(int32_t)value;
87 - (void)writeRawLittleEndian64:(int64_t)value;
90 - (void)writeRawVarint32:(int32_t)value;
92 - (void)writeRawVarint64:(int64_t)value;
97 - (void)writeRawVarintSizeTAs32:(size_t)value;
114 - (void)writeDouble:(int32_t)fieldNumber value:(double)value;
120 - (void)writeDoubleNoTag:(double)value;
123 - (void)writeFloat:(int32_t)fieldNumber value:(float)value;
129 - (void)writeFloatNoTag:(float)value;
[all …]
DGPBCodedOutputStream.m58 // buffer position is reset to its initial value when this returns.
74 static void GPBWriteRawByte(GPBOutputBufferState *state, uint8_t value) {
78 state->bytes[state->position++] = value;
81 static void GPBWriteRawVarint32(GPBOutputBufferState *state, int32_t value) {
83 if ((value & ~0x7F) == 0) {
84 uint8_t val = (uint8_t)value;
88 GPBWriteRawByte(state, (value & 0x7F) | 0x80);
89 value = GPBLogicalRightShift32(value, 7);
94 static void GPBWriteRawVarint64(GPBOutputBufferState *state, int64_t value) {
96 if ((value & ~0x7FL) == 0) {
[all …]
DGPBCodedOutputStream_PackagePrivate.h37 size_t GPBComputeDoubleSize(int32_t fieldNumber, double value)
39 size_t GPBComputeFloatSize(int32_t fieldNumber, float value)
41 size_t GPBComputeUInt64Size(int32_t fieldNumber, uint64_t value)
43 size_t GPBComputeInt64Size(int32_t fieldNumber, int64_t value)
45 size_t GPBComputeInt32Size(int32_t fieldNumber, int32_t value)
47 size_t GPBComputeFixed64Size(int32_t fieldNumber, uint64_t value)
49 size_t GPBComputeFixed32Size(int32_t fieldNumber, uint32_t value)
51 size_t GPBComputeBoolSize(int32_t fieldNumber, BOOL value)
53 size_t GPBComputeStringSize(int32_t fieldNumber, NSString *value)
55 size_t GPBComputeGroupSize(int32_t fieldNumber, GPBMessage *value)
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/testdata/
Dmap_test_data.txt3 value: 0
7 value: 1
11 value: 0
15 value: 1
19 value: 0
23 value: 1
27 value: 0
31 value: 1
35 value: 0
39 value: 1
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dwire_format_lite_inl.h63 int32* value) {
66 *value = static_cast<int32>(temp);
72 int64* value) {
75 *value = static_cast<int64>(temp);
81 uint32* value) {
82 return input->ReadVarint32(value);
87 uint64* value) {
88 return input->ReadVarint64(value);
93 int32* value) {
96 *value = ZigZagDecode32(temp);
[all …]
Dwire_format_lite.h220 static uint32 EncodeFloat(float value);
221 static float DecodeFloat(uint32 value);
222 static uint64 EncodeDouble(double value);
223 static double DecodeDouble(uint64 value);
254 static bool ReadPrimitive(input, CType* value);
263 RepeatedField<CType>* value);
271 RepeatedField<CType>* value);
279 static const uint8* ReadPrimitiveFromArray(const uint8* buffer, CType* value);
285 static bool ReadPackedPrimitive(input, RepeatedField<CType>* value);
290 static bool ReadPackedPrimitiveNoInline(input, RepeatedField<CType>* value);
[all …]
Dunittest_enormous_descriptor.proto48 …oooooooooooooooooooooooooooooooooooooooooong_1 = 1 [default="long default value is also looooooooo…
49 …oooooooooooooooooooooooooooooooooooooooooong_2 = 2 [default="long default value is also looooooooo…
50 …oooooooooooooooooooooooooooooooooooooooooong_3 = 3 [default="long default value is also looooooooo…
51 …oooooooooooooooooooooooooooooooooooooooooong_4 = 4 [default="long default value is also looooooooo…
52 …oooooooooooooooooooooooooooooooooooooooooong_5 = 5 [default="long default value is also looooooooo…
53 …oooooooooooooooooooooooooooooooooooooooooong_6 = 6 [default="long default value is also looooooooo…
54 …oooooooooooooooooooooooooooooooooooooooooong_7 = 7 [default="long default value is also looooooooo…
55 …oooooooooooooooooooooooooooooooooooooooooong_8 = 8 [default="long default value is also looooooooo…
56 …oooooooooooooooooooooooooooooooooooooooooong_9 = 9 [default="long default value is also looooooooo…
57 …oooooooooooooooooooooooooooooooooooooooong_10 = 10 [default="long default value is also looooooooo…
[all …]
/frameworks/base/libs/androidfw/
DAttributeResolution.cpp74 Res_value value; in ResolveAttrs() local
81 Res_value value; in ResolveAttrs() local
82 if (theme->GetAttribute(def_style_attr, &value, &def_style_flags) != kInvalidCookie) { in ResolveAttrs()
83 if (value.dataType == Res_value::TYPE_REFERENCE) { in ResolveAttrs()
84 def_style_res = value.data; in ResolveAttrs()
112 value.dataType = Res_value::TYPE_NULL; in ResolveAttrs()
113 value.data = Res_value::DATA_NULL_UNDEFINED; in ResolveAttrs()
122 value.dataType = Res_value::TYPE_ATTRIBUTE; in ResolveAttrs()
123 value.data = src_values[ii]; in ResolveAttrs()
125 ALOGI("-> From values: type=0x%x, data=0x%08x", value.dataType, value.data); in ResolveAttrs()
[all …]
/frameworks/av/media/libstagefright/foundation/tests/
DTypeTraits_test.cpp38 static_assert(!std::is_integral<A>::value, "enums should not be integral"); in TEST_F()
39 static_assert(!std::is_integral<UA>::value, "enums should not be integral"); in TEST_F()
40 static_assert(!std::is_integral<IA>::value, "enums should not be integral"); in TEST_F()
41 static_assert(is_integral_or_enum<A>::value, "enums should be integral_or_enum"); in TEST_F()
42 static_assert(is_integral_or_enum<UA>::value, "enums should be integral_or_enum"); in TEST_F()
43 static_assert(is_integral_or_enum<IA>::value, "enums should be integral_or_enum"); in TEST_F()
44 static_assert(is_integral_or_enum<int>::value, "ints should be integral_or_enum"); in TEST_F()
45 static_assert(is_integral_or_enum<unsigned>::value, "unsigned ints should be integral_or_enum"); in TEST_F()
46 static_assert(!is_integral_or_enum<float>::value, "floats should not be integral_or_enum"); in TEST_F()
50 static_assert(!std::is_unsigned<UA>::value, in TEST_F()
[all …]
/frameworks/rs/script_api/
Drs_object_types.spec90 value: RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_X = 0
91 value: RS_ALLOCATION_CUBEMAP_FACE_NEGATIVE_X = 1
92 value: RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_Y = 2
93 value: RS_ALLOCATION_CUBEMAP_FACE_NEGATIVE_Y = 3
94 value: RS_ALLOCATION_CUBEMAP_FACE_POSITIVE_Z = 4
95 value: RS_ALLOCATION_CUBEMAP_FACE_NEGATIVE_Z = 5
104 value: RS_ALLOCATION_USAGE_SCRIPT = 0x0001, "Allocation is bound to and accessed by scripts."
105 value: RS_ALLOCATION_USAGE_GRAPHICS_TEXTURE = 0x0002, "Allocation is used as a texture source."
106 value: RS_ALLOCATION_USAGE_GRAPHICS_VERTEX = 0x0004, "Deprecated."
107 value: RS_ALLOCATION_USAGE_GRAPHICS_CONSTANTS = 0x0008, "Deprecated."
[all …]
/frameworks/base/core/java/android/content/
DContentValues.java118 public void put(String key, String value) { in put() argument
119 mMap.put(key, value); in put()
137 public void put(String key, Byte value) { in put() argument
138 mMap.put(key, value); in put()
147 public void put(String key, Short value) { in put() argument
148 mMap.put(key, value); in put()
157 public void put(String key, Integer value) { in put() argument
158 mMap.put(key, value); in put()
167 public void put(String key, Long value) { in put() argument
168 mMap.put(key, value); in put()
[all …]
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
DPduHeaders.java358 protected void setOctet(int value, int field) in setOctet() argument
376 if ((VALUE_YES != value) && (VALUE_NO != value)) { in setOctet()
382 if ((READ_STATUS_READ != value) && in setOctet()
383 (READ_STATUS__DELETED_WITHOUT_BEING_READ != value)) { in setOctet()
389 if ((CANCEL_STATUS_REQUEST_SUCCESSFULLY_RECEIVED != value) && in setOctet()
390 (CANCEL_STATUS_REQUEST_CORRUPTED != value)) { in setOctet()
396 if ((value < PRIORITY_LOW) || (value > PRIORITY_HIGH)) { in setOctet()
402 if ((value < STATUS_EXPIRED) || (value > STATUS_UNREACHABLE)) { in setOctet()
408 if ((value < REPLY_CHARGING_REQUESTED) in setOctet()
409 || (value > REPLY_CHARGING_ACCEPTED_TEXT_ONLY)) { in setOctet()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DPreconditions.java209 public static @IntRange(from = 0) int checkArgumentNonnegative(final int value, in checkArgumentNonnegative() argument
211 if (value < 0) { in checkArgumentNonnegative()
215 return value; in checkArgumentNonnegative()
226 public static @IntRange(from = 0) int checkArgumentNonnegative(final int value) { in checkArgumentNonnegative() argument
227 if (value < 0) { in checkArgumentNonnegative()
231 return value; in checkArgumentNonnegative()
241 public static long checkArgumentNonnegative(final long value) { in checkArgumentNonnegative() argument
242 if (value < 0) { in checkArgumentNonnegative()
246 return value; in checkArgumentNonnegative()
257 public static long checkArgumentNonnegative(final long value, final String errorMessage) { in checkArgumentNonnegative() argument
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/protos/src/proto/google/protobuf/
Dunittest_enormous_descriptor.proto46 …oooooooooooooooooooooooooooooooooooooooooong_1 = 1 [default="long default value is also looooooooo…
47 …oooooooooooooooooooooooooooooooooooooooooong_2 = 2 [default="long default value is also looooooooo…
48 …oooooooooooooooooooooooooooooooooooooooooong_3 = 3 [default="long default value is also looooooooo…
49 …oooooooooooooooooooooooooooooooooooooooooong_4 = 4 [default="long default value is also looooooooo…
50 …oooooooooooooooooooooooooooooooooooooooooong_5 = 5 [default="long default value is also looooooooo…
51 …oooooooooooooooooooooooooooooooooooooooooong_6 = 6 [default="long default value is also looooooooo…
52 …oooooooooooooooooooooooooooooooooooooooooong_7 = 7 [default="long default value is also looooooooo…
53 …oooooooooooooooooooooooooooooooooooooooooong_8 = 8 [default="long default value is also looooooooo…
54 …oooooooooooooooooooooooooooooooooooooooooong_9 = 9 [default="long default value is also looooooooo…
55 …oooooooooooooooooooooooooooooooooooooooong_10 = 10 [default="long default value is also looooooooo…
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/more_protos/src/proto/google/protobuf/
Dunittest_enormous_descriptor.proto46 …oooooooooooooooooooooooooooooooooooooooooong_1 = 1 [default="long default value is also looooooooo…
47 …oooooooooooooooooooooooooooooooooooooooooong_2 = 2 [default="long default value is also looooooooo…
48 …oooooooooooooooooooooooooooooooooooooooooong_3 = 3 [default="long default value is also looooooooo…
49 …oooooooooooooooooooooooooooooooooooooooooong_4 = 4 [default="long default value is also looooooooo…
50 …oooooooooooooooooooooooooooooooooooooooooong_5 = 5 [default="long default value is also looooooooo…
51 …oooooooooooooooooooooooooooooooooooooooooong_6 = 6 [default="long default value is also looooooooo…
52 …oooooooooooooooooooooooooooooooooooooooooong_7 = 7 [default="long default value is also looooooooo…
53 …oooooooooooooooooooooooooooooooooooooooooong_8 = 8 [default="long default value is also looooooooo…
54 …oooooooooooooooooooooooooooooooooooooooooong_9 = 9 [default="long default value is also looooooooo…
55 …oooooooooooooooooooooooooooooooooooooooong_10 = 10 [default="long default value is also looooooooo…
[all …]

12345678910>>...94