Home
last modified time | relevance | path

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

/external/fonttools/Lib/fontTools/misc/
DmacRes.py92 resType = tostr(item['type'], encoding='mac-roman')
95 resources = self._readReferenceList(resType, refListOffset, numRes)
96 self._resources[resType] = resources
98 def _readReferenceList(self, resType, refListOffset, numRes): argument
103 res = Resource(resType)
108 def __getitem__(self, resType): argument
109 return self._resources[resType]
111 def __delitem__(self, resType): argument
112 del self._resources[resType]
114 def __setitem__(self, resType, resources): argument
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/
DTypedResource.java7 private final ResType resType; field in TypedResource
10 public TypedResource(T data, ResType resType, XmlContext xmlContext) { in TypedResource() argument
12 this.resType = resType; in TypedResource()
21 return resType; in getResType()
53 ", resType=" + resType + in toString()
DStaxValueLoader.java10 public StaxValueLoader(PackageResourceTable resourceTable, String attrType, ResType resType) { in StaxValueLoader() argument
11 super(resourceTable, attrType, resType); in StaxValueLoader()
13 if (resType == ResType.CHAR_SEQUENCE) { in StaxValueLoader()
32 if (resType == ResType.CHAR_SEQUENCE) { in onEnd()
37 resourceTable.addResource(attrType, name, new TypedResource<>(s, resType, xmlContext)); in onEnd()
DStaxLoader.java10 protected final ResType resType; field in StaxLoader
12 public StaxLoader(PackageResourceTable resourceTable, String attrType, ResType resType) { in StaxLoader() argument
15 this.resType = resType; in StaxLoader()
DStaxArrayLoader.java29 ResType resType = scalarResType == null ? ResType.inferType(buf.toString()) : scalarResType; in StaxArrayLoader()
30 items.add(new TypedResource<>(buf.toString(), resType, xmlContext)); in StaxArrayLoader()
48 resourceTable.addResource(attrType, name, new TypedResource<>(items, resType, xmlContext)); in onEnd()
DStaxAttrLoader.java13 public StaxAttrLoader(PackageResourceTable resourceTable, String attrType, ResType resType) { in StaxAttrLoader() argument
14 super(resourceTable, attrType, resType); in StaxAttrLoader()
58 resourceTable.addResource(attrType, name, new TypedResource<>(attrData, resType, xmlContext)); in onEnd()
DStaxStyleLoader.java13 public StaxStyleLoader(PackageResourceTable resourceTable, String attrType, ResType resType) { in StaxStyleLoader() argument
14 super(resourceTable, attrType, resType); in StaxStyleLoader()
59 …resourceTable.addResource("style", styleData.getName(), new TypedResource<>(styleData, resType, xm… in onEnd()
DPluralRules.java6 public PluralRules(List<Plural> data, ResType resType, XmlContext xmlContext) { in PluralRules() argument
7 super(data, resType, xmlContext); in PluralRules()
DFileTypedResource.java6 public FileTypedResource(FsFile fsFile, ResType resType, XmlContext xmlContext) { in FileTypedResource() argument
7 super(fsFile.getPath(), resType, xmlContext); in FileTypedResource() local
DResourceTableFactory.java169 …resourcePath, final PackageResourceTable resourceTable, final String type, final ResType resType) {
174 new FileTypedResource(xmlContext.getXmlFile(), resType, xmlContext));
DStaxPluralsLoader.java49 …resourceTable.addResource(attrType, name, new PluralRules(new ArrayList<>(plurals), resType, xmlCo… in onEnd()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLegacyAssetManager.java234 ResType resType = ResType.inferFromValue(attribute.value); in convertAndFill() local
235 Converter.getConverter(resType).fillTypedValue(attribute.value, outValue); in convertAndFill()
837 final ResType resType = typedResource.getResType(); in getResourceType() local
839 if (typedResource.getData() == null || resType == ResType.NULL) { in getResourceType()
843 } else if (resType == ResType.STYLE) { in getResourceType()
845 } else if (resType == ResType.CHAR_SEQUENCE || resType == ResType.DRAWABLE) { in getResourceType()
847 } else if (resType == ResType.INTEGER) { in getResourceType()
849 } else if (resType == ResType.FLOAT || resType == ResType.FRACTION) { in getResourceType()
851 } else if (resType == ResType.BOOLEAN) { in getResourceType()
853 } else if (resType == ResType.DIMEN) { in getResourceType()
[all …]
DConverter.java47 public static Converter getConverter(ResType resType) { in getConverter() argument
48 switch (resType) { in getConverter()
78 throw new UnsupportedOperationException("can't convert from " + resType.name()); in getConverter()
/external/icu/icu4c/source/tools/genrb/
Dparse.cpp1846 enum EResourceType resType = RESTYPE_UNKNOWN; in parseResource() local
1875 resType = parseResourceType(state, status); in parseResource()
1895 if (resType == RESTYPE_UNKNOWN) in parseResource()
1918 resType = RESTYPE_ARRAY; in parseResource()
1931 case TOK_COMMA: resType = RESTYPE_ARRAY; break; in parseResource()
1932 case TOK_OPEN_BRACE: resType = RESTYPE_TABLE; break; in parseResource()
1933 case TOK_CLOSE_BRACE: resType = RESTYPE_STRING; break; in parseResource()
1934 case TOK_COLON: resType = RESTYPE_TABLE; break; in parseResource()
1949 } else if(resType == RESTYPE_TABLE_NO_FALLBACK) { in parseResource()
1951 …"error: %s resource type not valid except on top bundle level", gResourceTypes[resType].nameChars); in parseResource()
[all …]
/external/doclava/res/assets/templates-sdk/
Dsample.cs52 <?cs if:resType == "img" ?>
60 <?cs elif:resType == "video" ?>
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_surface.c528 SVGA3dResourceType resType; in svga_validate_surface_view() local
555 resType = svga_resource_type(s->base.texture->target); in svga_validate_surface_view()
562 resType, in svga_validate_surface_view()
583 resType, in svga_validate_surface_view()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java302 ResolvedType resType = getTypeConcrete(node, solveLambdas); in getType() local
303 cacheWithoutLambdasSolved.put(node, resType); in getType()
305 return resType; in getType()
/external/python/cpython2/Mac/Modules/cm/
D_Cmmodule.c525 OSType resType; in CmpObj_GetComponentResource() local
532 PyMac_GetOSType, &resType, in CmpObj_GetComponentResource()
536 resType, in CmpObj_GetComponentResource()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/
DAttributeSetBuilderImpl.java225 ResType resType = ResType.inferFromValue(attribute.value); in parseValue() local
226 Converter.getConverter(resType).fillTypedValue(attribute.value, outValue); in parseValue()
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/localeconverter/
DXLIFF2ICUConverter.java1215 String resType = getAttributeValue(node, RESTYPE); in parseGroup() local
1216 if(resType.equals(resources[ARRAY_RESOURCE])){ in parseGroup()
1218 }else if( resType.equals(resources[TABLE_RESOURCE])){ in parseGroup()
1220 }else if( resType.equals(resources[INTVECTOR_RESOURCE])){ in parseGroup()
/external/deqp/modules/egl/
DteglRobustnessTests.cpp1359 const glw::GLenum resType = m_isUBO && (m_shaderType != SHADERTYPE_COMPUTE || bufNdx != 0) in setup() local
1363 GLU_CHECK_GLW_CALL(m_gl, bindBuffer(resType, m_buffers[bufNdx])); in setup()
1364 …GLU_CHECK_GLW_CALL(m_gl, bufferData(resType, sizeof(tcu::Vec4), &(refValues[bufNdx]), GL_STATIC_DR… in setup()
1365 GLU_CHECK_GLW_CALL(m_gl, bindBufferBase(resType, bufNdx, m_buffers[bufNdx])); in setup()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_JavaParserFacade.txt128 Line 312) cacheWithoutLambdasSolved.put(node, resType) ==> java.util.Map.put(K, V)
/external/clang/lib/Sema/
DSemaExpr.cpp11896 QualType resType; in ActOnChooseExpr() local
11900 resType = Context.DependentTy; in ActOnChooseExpr()
11916 resType = ActiveExpr->getType(); in ActOnChooseExpr()
11923 ChooseExpr(BuiltinLoc, CondExpr, LHSExpr, RHSExpr, resType, VK, OK, RPLoc, in ActOnChooseExpr()
11924 CondIsTrue, resType->isDependentType(), ValueDependent); in ActOnChooseExpr()
DSemaChecking.cpp3389 QualType resType = TheCall->getArg(0)->getType(); in SemaBuiltinShuffleVector() local
3423 resType = Context.getVectorType(eltType, numResElements, in SemaBuiltinShuffleVector()
3456 return new (Context) ShuffleVectorExpr(Context, exprs, resType, in SemaBuiltinShuffleVector()
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp4546 spv::Id resType = builder.makeStructType(members, "ResType"); local
4549 …spv::Id res = builder.createTextureCall(precision, resType, sparse, cracked.fetch, cracked.proj, c…
4561 …cessChainStore(builder.createCompositeExtract(res, builder.getContainedTypeId(resType, i+1), i+1));