Home
last modified time | relevance | path

Searched refs:pathType (Results 1 – 13 of 13) sorted by relevance

/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DConfiguration.java217 public static Builder builder(PathType pathType) { in builder() argument
218 return new Builder(pathType); in builder()
222 final PathType pathType; field in Configuration
248 this.pathType = builder.pathType; in Configuration()
278 .add("pathType", pathType) in toString()
330 private final PathType pathType; field in Configuration.Builder
354 private Builder(PathType pathType) { in Builder() argument
355 this.pathType = checkNotNull(pathType); in Builder()
359 this.pathType = configuration.pathType; in Builder()
645 PathType.ParseResult parseResult = pathType.parsePath(root); in setRoots()
[all …]
DPathService.java73 config.pathType, in PathService()
/external/cldr/tools/java/org/unicode/cldr/util/
DUnitPathType.java91 UnitPathType pathType = this; in getTranslationPath() local
98 switch (pathType) { in getTranslationPath()
109 …grammaticalAttributes = GrammarInfo.getGrammaticalInfoAttributes(grammarInfo1, pathType, pluralCat… in getTranslationPath()
114 …grammaticalAttributes = GrammarInfo.getGrammaticalInfoAttributes(grammarInfo1, pathType, pluralCat… in getTranslationPath()
133 throw new IllegalArgumentException("PathType: " + pathType); in getTranslationPath()
137 UnitPathType pathType = this; in getTrans() local
138 …String path = pathType.getTranslationPath(resolvedFile, width, shortUnitId, pluralCategory, caseVa… in getTrans()
147 partsUsed.put(pathType, in getTrans()
DLogicalGrouping.java108 PathType pathType = null; in getPaths() local
111 pathType = PathType.getPathTypeFromParts(parts); in getPaths()
116 pathType = PathType.getPathTypeFromPath(path); in getPaths()
119 pathTypeOut.value = pathType; in getPaths()
123 typeCount.compute(pathType.toString(), (k, v) -> (v == null) ? 1 : v + 1); in getPaths()
126 if (pathType == PathType.SINGLETON) { in getPaths()
142 if (PathType.isLocaleDependent(pathType)) { in getPaths()
149 pathType.addPaths(set, cldrFile, path, parts); in getPaths()
160 pathType.addPaths(set, cldrFile, path, parts); in getPaths()
479 private static boolean isLocaleDependent(PathType pathType) { in isLocaleDependent() argument
[all …]
DGrammarInfo.java251 …ring getGrammaticalInfoAttributes(GrammarInfo grammarInfo, UnitPathType pathType, String plural, S… in getGrammaticalInfoAttributes() argument
253 if (pathType.features.contains(GrammaticalFeature.grammaticalNumber)) { // count is special in getGrammaticalInfoAttributes()
257 && pathType.features.contains(GrammaticalFeature.grammaticalGender) in getGrammaticalInfoAttributes()
265 && pathType.features.contains(GrammaticalFeature.grammaticalCase) in getGrammaticalInfoAttributes()
/external/cldr/tools/java/org/unicode/cldr/test/
DCheckUnits.java65 UnitPathType pathType = UnitPathType.getPathType(parts); in handleCheck() local
66 if (pathType != null) { in handleCheck()
69 switch(pathType) { in handleCheck()
98 switch(pathType) { in handleCheck()
118 for (String shortUnitId : pathType.sampleComposedShortUnitIds.get(idType)) { in handleCheck()
141 if (pathType == UnitPathType.duration) { in handleCheck()
DCheckLogicalGroupings.java106 Output<PathType> pathType = new Output<>(); in handleCheck() local
107 Set<String> paths = LogicalGrouping.getPaths(getCldrFileToCheck(), path, pathType); in handleCheck()
111 switch(pathType.value) { in handleCheck()
124 …("{0} different characters within {1}; {2}", maxDistance, showInvisibles(values), pathType.value)); in handleCheck()
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/
DConfigurationTest.java61 assertThat(config.pathType).isEqualTo(PathType.unix()); in testDefaultUnixConfiguration()
95 assertThat(config.pathType).isEqualTo(PathType.unix()); in testDefaultOsXConfiguration()
134 assertThat(config.pathType).isEqualTo(PathType.windows()); in testDefaultWindowsConfiguration()
189 assertThat(config.pathType).isEqualTo(PathType.unix()); in testBuilder()
249 assertThat(config.pathType).isEqualTo(PathType.unix()); in testToBuilder()
/external/skqp/bench/
DStrokeBench.cpp16 StrokeBench(const SkPath& path, const SkPaint& paint, const char pathType[], SkScalar res) in StrokeBench() argument
20 pathType, paint.getStrokeWidth(), paint.getStrokeJoin(), paint.getStrokeCap()); in StrokeBench()
/external/skia/bench/
DStrokeBench.cpp16 StrokeBench(const SkPath& path, const SkPaint& paint, const char pathType[], SkScalar res) in StrokeBench() argument
20 pathType, paint.getStrokeWidth(), paint.getStrokeJoin(), paint.getStrokeCap()); in StrokeBench()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestExampleGenerator.java355 for (UnitPathType pathType : UnitPathType.values()) { in TestTranslationPaths()
357 if (pathType == UnitPathType.gender && !width.equals("long")) { in TestTranslationPaths()
360 for (String unit : pathType.sampleShortUnitType) { in TestTranslationPaths()
361 … String path = pathType.getTranslationPath(cldrFile, width, unit, "one", "nominative", null); in TestTranslationPaths()
367 warnln(locale + "/" + pathType.toString() + " ==>" + simplified); in TestTranslationPaths()
DTestUnits.java2008 … UnitPathType pathType = UnitPathType.getPathType(XPathParts.getFrozenInstance(path)); in TestCheckUnits() local
2009 if (pathType == null || pathType == UnitPathType.unit) { in TestCheckUnits()
/external/golang-protobuf/protoc-gen-go/generator/
Dgenerator.go312 func (d *FileDescriptor) goFileName(pathType pathType) string {
319 if pathType == pathTypeSourceRelative {
427 pathType pathType // How to generate output filenames. member
433 type pathType int type
436 pathTypeImport pathType = iota
487 g.pathType = pathTypeImport
489 g.pathType = pathTypeSourceRelative
1099 fname := file.goFileName(g.pathType)
1108 Name: proto.String(file.goFileName(g.pathType) + ".meta"),