Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DResourceHelper.java170 TypedValue outValue, boolean requireUnit) { in parseFloatAttribute() argument
210 if (parseUnit(end, outValue, sFloatOut)) { in parseFloatAttribute()
211 computeTypedValue(outValue, f, sFloatOut[0]); in parseFloatAttribute()
221 if (outValue != null) { in parseFloatAttribute()
222 outValue.assetCookie = 0; in parseFloatAttribute()
223 outValue.string = null; in parseFloatAttribute()
226 outValue.type = TypedValue.TYPE_FLOAT; in parseFloatAttribute()
227 outValue.data = Float.floatToIntBits(f); in parseFloatAttribute()
230 applyUnit(sUnitNames[1], outValue, sFloatOut); in parseFloatAttribute()
231 computeTypedValue(outValue, f, sFloatOut[0]); in parseFloatAttribute()
[all …]
DShadowAssetManager.java123 …private void convertAndFill(AttributeResource attribute, TypedValue outValue, ResTable_config conf… in convertAndFill() argument
125 outValue.type = TypedValue.TYPE_NULL; in convertAndFill()
126 outValue.data = TypedValue.DATA_NULL_UNDEFINED; in convertAndFill()
129 outValue.type = TypedValue.TYPE_NULL; in convertAndFill()
130 outValue.data = TypedValue.DATA_NULL_EMPTY; in convertAndFill()
135 outValue.assetCookie = Converter.getNextStringCookie(); in convertAndFill()
136 outValue.changingConfigurations = 0; in convertAndFill()
155 outValue.type = TypedValue.TYPE_REFERENCE; in convertAndFill()
158 outValue.data = resourceId; in convertAndFill()
162 outValue.resourceId = resourceId; in convertAndFill()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAssetManagerTest.java186 TypedValue outValue = new TypedValue(); in multiFormatAttributes_integerDecimalValue() local
187 typedArray.getValue(0, outValue); in multiFormatAttributes_integerDecimalValue()
188 assertThat(outValue.type).isEqualTo(TypedValue.TYPE_INT_DEC); in multiFormatAttributes_integerDecimalValue()
197 TypedValue outValue = new TypedValue(); in multiFormatAttributes_integerHexValue() local
198 typedArray.getValue(0, outValue); in multiFormatAttributes_integerHexValue()
199 assertThat(outValue.type).isEqualTo(TypedValue.TYPE_INT_HEX); in multiFormatAttributes_integerHexValue()
208 TypedValue outValue = new TypedValue(); in multiFormatAttributes_stringValue() local
209 typedArray.getValue(0, outValue); in multiFormatAttributes_stringValue()
210 assertThat(outValue.type).isEqualTo(TypedValue.TYPE_STRING); in multiFormatAttributes_stringValue()
219 TypedValue outValue = new TypedValue(); in multiFormatAttributes_booleanValue() local
[all …]
DShadowResourcesTest.java827 TypedValue outValue = new TypedValue(); in getValueShouldClearTypedArrayBetweenCalls() local
829 resources.getValue(R.string.hello, outValue, true); in getValueShouldClearTypedArrayBetweenCalls()
830 assertThat(outValue.type).isEqualTo(TypedValue.TYPE_STRING); in getValueShouldClearTypedArrayBetweenCalls()
831 assertThat(outValue.string).isEqualTo(resources.getString(R.string.hello)); in getValueShouldClearTypedArrayBetweenCalls()
832 assertThat(outValue.data).isEqualTo(TypedValue.DATA_NULL_UNDEFINED); in getValueShouldClearTypedArrayBetweenCalls()
833 assertThat(outValue.assetCookie).isNotEqualTo(0); in getValueShouldClearTypedArrayBetweenCalls()
835 resources.getValue(R.color.blue, outValue, true); in getValueShouldClearTypedArrayBetweenCalls()
836 assertThat(outValue.type).isEqualTo(TypedValue.TYPE_INT_COLOR_RGB8); in getValueShouldClearTypedArrayBetweenCalls()
837 assertThat(outValue.data).isEqualTo(ResourceHelper.getColor("#0000ff")); in getValueShouldClearTypedArrayBetweenCalls()
838 assertThat(outValue.string).isNull(); in getValueShouldClearTypedArrayBetweenCalls()
[all …]
/external/libvncserver/libvncserver/
Dtableinit24.c34 uint32_t i, r, g, b, outValue; in rfbInitColourMapSingleTable24() local
57 outValue = ((((r * (1 + out->redMax)) >> shift) << out->redShift) | in rfbInitColourMapSingleTable24()
60 *(uint32_t*)&t[3*i] = outValue; in rfbInitColourMapSingleTable24()
78 int i,outValue; in rfbInitTrueColourSingleTable24() local
97 outValue = ((outRed << out->redShift) | in rfbInitTrueColourSingleTable24()
100 *(uint32_t*)&t[3*i] = outValue; in rfbInitTrueColourSingleTable24()
144 uint32_t outValue; in rfbInitOneRGBTable24() local
148 outValue = ((i * outMax + inMax / 2) / inMax) << outShift; in rfbInitOneRGBTable24()
149 *(uint32_t *)&table[3*i] = outValue; in rfbInitOneRGBTable24()
Dtabletrans24template.c102 uint32_t outValue,inValue; in rfbTranslateWithRGBTables24to24() local
110 outValue = (redTable[(inValue >> in->redShift) & in->redMax] | in rfbTranslateWithRGBTables24to24()
113 memcpy(op,&outValue,3); in rfbTranslateWithRGBTables24to24()
256 uint32_t outValue; in rfbTranslateWithRGBTablesINto24() local
262 outValue = (redTable[(*ip >> in->redShift) & in->redMax] | in rfbTranslateWithRGBTablesINto24()
265 memcpy(op,&outValue,3); in rfbTranslateWithRGBTablesINto24()
/external/deqp/executor/tools/
DxeTestLogCompare.cpp109 , outValue (OUTPUTVALUE_STATUS_CODE) in CommandLine()
115 OutputValue outValue; member
344 …dst << "," << (cmdLine.outValue == OUTPUTVALUE_STATUS_CODE ? getStatusCodeName(iter->statusCode) :… in runCompare()
386 cmdLine.outValue = opts.getOption<opt::OutValue>(); in parseCommandLine()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DOpenMapRealMatrix.java209 final double outValue = in multiply() local
211 if (outValue == 0.0) { in multiply()
214 out.entries.put(outKey, outValue); in multiply()
/external/libese/apps/weaver/card/src/com/android/weaver/core/
DCoreSlots.java61 byte[] outValue, short outOffset) { in read() argument
63 return mSlots[slotId].read(key, keyOffset, outValue, outOffset); in read()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowResources.java233 public boolean resolveAttribute (int resid, TypedValue outValue, boolean resolveRefs) { in resolveAttribute() argument
236 outValue.setTo(foundValue); in resolveAttribute()
/external/wayland-protocols/flinger_headers/
Dhwcomposer2_arc_private.h244 hwc2_device_t* device, hwc2_display_t display, const int32_t attribute, int32_t* outValue);
/external/deqp/modules/gles2/scripts/
Dgen-conversions.py194 def __init__(self, inValue, outValue): argument
196 outType = outValue.typeString()
/external/sfntly/cpp/src/test/tinyxml/
Dtinyxml.h1024 template< typename T > int QueryValueAttribute( const std::string& name, T* outValue ) const in QueryValueAttribute() argument
1031 sstream >> *outValue; in QueryValueAttribute()
1037 int QueryValueAttribute( const std::string& name, std::string* outValue ) const in QueryValueAttribute() argument
1042 *outValue = node->ValueStr(); in QueryValueAttribute()
/external/protobuf/objectivec/
DGPBDescriptor.h123 - (BOOL)getValue:(nullable int32_t *)outValue forEnumName:(NSString *)name;
DGPBDescriptor.m721 - (BOOL)getValue:(int32_t *)outValue forEnumName:(NSString *)name {
739 if (outValue) {
740 *outValue = values_[i];
/external/deqp/modules/gles3/scripts/
Dgen-conversions.py207 def __init__(self, inValue, outValue): argument
209 outType = outValue.typeString()
/external/deqp/modules/gles2/functional/
Des2fShaderOperatorTests.cpp260 , outValue (outValue_) in BuiltinFuncInfo()
278 ValueType outValue; member
1241 …bool isBoolOut = (funcInfo.outValue & (VALUE_BOOL | VALUE_BOOL_VEC | VALUE_BOOL_GENTYPE)) != … in init()
1242 bool isIntOut = (funcInfo.outValue & (VALUE_INT | VALUE_INT_VEC | VALUE_INT_GENTYPE)) != 0; in init()
1254 …int outScalarSize = ((funcInfo.outValue == VALUE_FLOAT) || (funcInfo.outValue == VALUE_BOOL)) ? … in init()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderOperatorTests.cpp340 , outValue (outValue_) in BuiltinFuncInfo()
377 , outValue (outValue_) in BuiltinFuncInfo()
397 ValueType outValue; member
1838 …const bool isBoolOut = (funcInfo.outValue & (VALUE_BOOL | VALUE_BOOL_VEC | VALUE_BOOL_GENTYPE)… in init()
1839 …const bool isIntOut = (funcInfo.outValue & (VALUE_INT | VALUE_INT_VEC | VALUE_INT_GENTYPE)) !=… in init()
1840 …const bool isUintOut = (funcInfo.outValue & (VALUE_UINT | VALUE_UINT_VEC | VALUE_UINT_GENTYPE)… in init()
1852 …const int outScalarSize = ((funcInfo.outValue == VALUE_FLOAT) || (funcInfo.outValue == VALUE_BOOL… in init()
/external/clang/test/ARCMT/
Dobjcmt-arc-cf-annotations.m.result1603 NSDate *outValue = inValue;
1604 if (outValue == 0)
1605 outValue = [[NSDate alloc] init]; // no-warning
1607 if (outValue != inValue)
1608 [outValue autorelease];
1610 return outValue;
Dobjcmt-arc-cf-annotations.m1561 NSDate *outValue = inValue;
1562 if (outValue == 0)
1563 outValue = [[NSDate alloc] init]; // no-warning
1565 if (outValue != inValue)
1566 [outValue autorelease];
1568 return outValue;
/external/deqp/modules/gles3/functional/
Des3fShaderOperatorTests.cpp446 , outValue (outValue_) in BuiltinFuncInfo()
472 , outValue (outValue_) in BuiltinFuncInfo()
492 ValueType outValue; member
1877 …bool isBoolOut = (funcInfo.outValue & (VALUE_BOOL | VALUE_BOOL_VEC | VALUE_BOOL_GENTYPE)) != … in init()
1878 bool isIntOut = (funcInfo.outValue & (VALUE_INT | VALUE_INT_VEC | VALUE_INT_GENTYPE)) != 0; in init()
1879 …bool isUintOut = (funcInfo.outValue & (VALUE_UINT | VALUE_UINT_VEC | VALUE_UINT_GENTYPE)) != … in init()
1891 …int outScalarSize = ((funcInfo.outValue == VALUE_FLOAT) || (funcInfo.outValue == VALUE_BOOL)) ? … in init()
/external/deqp/framework/randomshaders/
DrsgExpression.cpp1385 ExecValueAccess outValue = m_value.getValue(m_outValueRange.getType()); in evaluate() local
1387 for (int outElemNdx = 0; outElemNdx < outValue.getType().getNumElements(); outElemNdx++) in evaluate()
1390 outValue.component(outElemNdx) = inValue.component(inElemNdx).value(); in evaluate()
/external/mesa3d/src/mesa/main/
Ddd.h920 GLfloat *outValue);
/external/python/cpython2/Mac/Modules/ctl/
D_Ctlmodule.c1601 UInt16 outValue; in CtlObj_GetBevelButtonMenuValue() local
1608 &outValue); in CtlObj_GetBevelButtonMenuValue()
1611 outValue); in CtlObj_GetBevelButtonMenuValue()
/external/clang/test/Analysis/
Dretain-release.m1556 NSDate *outValue = inValue;
1557 if (outValue == 0)
1558 outValue = [[NSDate alloc] init]; // no-warning
1560 if (outValue != inValue)
1561 [outValue autorelease];
1563 return outValue;