/external/json-schema-validator/src/test/java/com/networknt/schema/ |
D | Issue687Test.java | 20 assertEquals("$", PathType.LEGACY.getRoot()); in testRoot() 21 assertEquals("$", PathType.JSON_PATH.getRoot()); in testRoot() 22 assertEquals("", PathType.JSON_POINTER.getRoot()); in testRoot() 27 assertEquals(PathType.LEGACY, PathType.DEFAULT); in testDefault() 32 Arguments.of(PathType.LEGACY, "$.foo", "bar", "$.foo.bar"), in appendTokens() 33 Arguments.of(PathType.LEGACY, "$.foo", "b.ar", "$.foo.b.ar"), in appendTokens() 34 Arguments.of(PathType.LEGACY, "$.foo", "b~ar", "$.foo.b~ar"), in appendTokens() 35 Arguments.of(PathType.LEGACY, "$.foo", "b/ar", "$.foo.b/ar"), in appendTokens() 36 Arguments.of(PathType.JSON_PATH, "$.foo", "bar", "$.foo.bar"), in appendTokens() 37 Arguments.of(PathType.JSON_PATH, "$.foo", "b.ar", "$.foo['b.ar']"), in appendTokens() [all …]
|
D | PathTypeTest.java | 13 PathType.fromJsonPath(null); in rejectNull() 20 PathType.fromJsonPath(""); in rejectEmptyString() 26 assertEquals("", PathType.fromJsonPath("$")); in acceptRoot() 31 assertEquals("/0", PathType.fromJsonPath("$[0]")); in acceptSimpleIndex() 36 assertEquals("/a", PathType.fromJsonPath("$.a")); in acceptSimpleProperty() 41 assertEquals("/a", PathType.fromJsonPath("$['a']")); in acceptEscapedProperty() 46 assertEquals("/a.b/c-d", PathType.fromJsonPath("$['a.b']['c-d']")); in hasSpecialCharacters()
|
D | JsonNodePathTest.java | 31 JsonNodePath root = new JsonNodePath(PathType.JSON_POINTER); in getNameCount() 38 JsonNodePath root = new JsonNodePath(PathType.JSON_POINTER); in getName() 48 JsonNodePath root = new JsonNodePath(PathType.JSON_POINTER); in compareTo() 82 JsonNodePath root = new JsonNodePath(PathType.JSON_POINTER); in equalsEquals() 90 JsonNodePath root = new JsonNodePath(PathType.JSON_POINTER); in hashCodeEquals() 98 JsonNodePath root = new JsonNodePath(PathType.JSON_POINTER); in getPathType() 99 assertEquals(PathType.JSON_POINTER, root.getPathType()); in getPathType() 104 JsonNodePath root = new JsonNodePath(PathType.JSON_PATH); in getElement() 116 JsonNodePath root = new JsonNodePath(PathType.JSON_PATH); in startsWith()
|
D | OutputUnitTest.java | 99 config.setPathType(PathType.JSON_POINTER); in annotationCollectionList() 117 config.setPathType(PathType.JSON_POINTER); in annotationCollectionHierarchical() 135 config.setPathType(PathType.JSON_POINTER); in annotationCollectionHierarchical2() 185 config.setPathType(PathType.JSON_POINTER); in formatAnnotation() 205 config.setPathType(PathType.JSON_POINTER); in formatAssertion() 225 config.setPathType(PathType.JSON_POINTER); in typeUnion() 276 config.setPathType(PathType.JSON_POINTER); in unevaluatedProperties() 326 config.setPathType(PathType.JSON_POINTER); in anyOf()
|
D | Issue475Test.java | 56 config.setPathType(PathType.JSON_POINTER); in draft4() 71 config.setPathType(PathType.JSON_POINTER); in draft6() 86 config.setPathType(PathType.JSON_POINTER); in draft7() 101 config.setPathType(PathType.JSON_POINTER); in draft201909() 116 config.setPathType(PathType.JSON_POINTER); in draft202012()
|
D | JsonNodeAnnotationsTest.java | 33 …new JsonNodePath(PathType.JSON_POINTER), SchemaLocation.of(""), new JsonNodePath(PathType.JSON_POI… in put()
|
D | ItemsValidatorTest.java | 44 config.setPathType(PathType.JSON_POINTER); in messageInvalid() 72 config.setPathType(PathType.JSON_POINTER); in messageAdditionalItemsInvalid() 100 config.setPathType(PathType.JSON_POINTER); in messageAdditionalItemsFalseInvalid()
|
D | PrefixItemsValidatorTest.java | 51 config.setPathType(PathType.JSON_POINTER); in messageInvalid() 78 config.setPathType(PathType.JSON_POINTER); in messageValid() 98 config.setPathType(PathType.JSON_POINTER); in messageInvalidAdditionalItems()
|
/external/jimfs/jimfs/src/test/java/com/google/common/jimfs/ |
D | WindowsPathTypeTest.java | 19 import static com.google.common.jimfs.PathType.windows; 43 PathType windows = PathType.windows(); in testWindows() 48 PathType.ParseResult path = windows.parsePath("C:\\\\foo\\bar"); in testWindows() 52 PathType.ParseResult path2 = windows.parsePath("foo/bar/"); in testWindows() 56 PathType.ParseResult path3 = windows.parsePath("hello world/foo/bar"); in testWindows() 93 PathType windows = PathType.windows(); in testWindows_uncPaths() 94 PathType.ParseResult path = windows.parsePath("\\\\host\\share"); in testWindows_uncPaths() 163 PathType.windows().toUri(fileSystemUri, "C:\\", ImmutableList.of("foo", "bar"), false); in testWindows_toUri_normal() 168 PathType.windows().toUri(fileSystemUri, "C:\\", ImmutableList.of("foo", "bar"), true); in testWindows_toUri_normal() 172 URI rootUri = PathType.windows().toUri(fileSystemUri, "C:\\", ImmutableList.<String>of(), true); in testWindows_toUri_normal() [all …]
|
D | UnixPathTypeTest.java | 43 PathType unix = PathType.unix(); in testUnix() 48 PathType.ParseResult path = unix.parsePath("//foo/bar"); in testUnix() 52 PathType.ParseResult path2 = unix.parsePath("foo/bar/"); in testUnix() 59 URI fileUri = PathType.unix().toUri(fileSystemUri, "/", ImmutableList.of("foo", "bar"), false); in testUnix_toUri() 64 PathType.unix().toUri(fileSystemUri, "/", ImmutableList.of("foo", "bar"), true); in testUnix_toUri() 68 URI rootUri = PathType.unix().toUri(fileSystemUri, "/", ImmutableList.<String>of(), true); in testUnix_toUri() 75 URI uri = PathType.unix().toUri(fileSystemUri, "/", ImmutableList.of("foo bar"), false); in testUnix_toUri_escaping() 83 assertUriRoundTripsCorrectly(PathType.unix(), "/"); in testUnix_uriRoundTrips() 84 assertUriRoundTripsCorrectly(PathType.unix(), "/foo"); in testUnix_uriRoundTrips() 85 assertUriRoundTripsCorrectly(PathType.unix(), "/foo/bar/baz"); in testUnix_uriRoundTrips() [all …]
|
D | PathServiceTest.java | 126 PathService pathService = fakePathService(PathType.unix(), false); in testHash_usingDisplayForm() 140 PathService pathService = fakePathService(PathType.unix(), true); in testHash_usingCanonicalForm() 154 PathService pathService = fakePathService(PathType.unix(), false); in testCompareTo_usingDisplayForm() 166 PathService pathService = fakePathService(PathType.unix(), true); in testCompareTo_usingCanonicalForm() 192 PathType.unix(), NO_NORMALIZATIONS, ImmutableSet.of(CASE_FOLD_ASCII), true)); in testPathMatcher_usingCanonicalForm_usesCanonicalNormalizations() 195 PathType.unix(), ImmutableSet.of(CASE_FOLD_ASCII), NO_NORMALIZATIONS, true)); in testPathMatcher_usingCanonicalForm_usesCanonicalNormalizations() 202 PathType.unix(), ImmutableSet.of(CASE_FOLD_ASCII), NO_NORMALIZATIONS, false)); in testPathMatcher_usingDisplayForm_usesDisplayNormalizations() 205 PathType.unix(), NO_NORMALIZATIONS, ImmutableSet.of(CASE_FOLD_ASCII), false)); in testPathMatcher_usingDisplayForm_usesDisplayNormalizations() 235 return fakePathService(PathType.unix(), false); in fakeUnixPathService() 239 return fakePathService(PathType.windows(), false); in fakeWindowsPathService() [all …]
|
D | ConfigurationTest.java | 61 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() 174 Configuration.builder(PathType.unix()) in testBuilder() 189 assertThat(config.pathType).isEqualTo(PathType.unix()); in testBuilder() 207 Configuration.builder(PathType.unix()) in testFileSystemForCustomConfiguration() 249 assertThat(config.pathType).isEqualTo(PathType.unix()); in testToBuilder() 265 assertIllegalRoots(PathType.unix(), "\\"); in testSettingRootsUnsupportedByPathType() 266 assertIllegalRoots(PathType.unix(), "/", "\\"); in testSettingRootsUnsupportedByPathType() 267 assertIllegalRoots(PathType.windows(), "/"); in testSettingRootsUnsupportedByPathType() [all …]
|
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/ |
D | LogicalGrouping.java | 181 CLDRFile cldrFile, String path, Output<PathType> pathTypeOut) { in getPaths() 186 PathType pathType = null; in getPaths() 189 pathType = PathType.getPathTypeFromParts(parts); in getPaths() 194 pathType = PathType.getPathTypeFromPath(path); in getPaths() 204 if (pathType == PathType.SINGLETON) { in getPaths() 219 if (PathType.isLocaleDependent(pathType)) { in getPaths() 328 public enum PathType { enum in LogicalGrouping 598 private static boolean isLocaleDependent(PathType pathType) { in isLocaleDependent() 617 public static PathType getPathTypeFromPath(String path) { in getPathTypeFromPath() 623 return PathType.METAZONE; in getPathTypeFromPath() [all …]
|
/external/skia/include/private/ |
D | SkPathRef.h | 54 enum class PathType : uint8_t { enum 70 fType = PathType::kGeneral; in SkPathRef() 235 if (fType == PathType::kOval) { in isOval() 247 return fType == PathType::kOval; in isOval() 253 if (fType == PathType::kArc) { in isArc() 259 return fType == PathType::kArc; in isArc() 374 fType = PathType::kGeneral; 447 fType = PathType::kGeneral; in commonReset() 502 fType = PathType::kOval; in setIsOval() 508 fType = PathType::kRRect; in setIsRRect() [all …]
|
/external/skia/src/core/ |
D | SkPathRef.cpp | 210 const PathType newType = in CreateTransformedCopy() 211 (rectStaysRect && src.fType != PathType::kArc) ? src.fType : PathType::kGeneral; in CreateTransformedCopy() 213 if (newType == PathType::kOval || newType == PathType::kRRect) { in CreateTransformedCopy() 216 transform_dir_and_start(matrix, newType == PathType::kRRect, &isCCW, &start); in CreateTransformedCopy() 239 (*pathRef)->fType = PathType::kGeneral; in Rewind() 310 out->fType = PathType::kGeneral; in interpolate() 318 fType = PathType::kGeneral; in growForVerbsInPath() 378 fType = PathType::kGeneral; in growForRepeatedVerb() 430 fType = PathType::kGeneral; in growForVerb() 519 if (fType == PathType::kRRect) { in isRRect() [all …]
|
/external/swiftshader/third_party/llvm-16.0/llvm/include/llvm/WindowsResource/ |
D | ResourceProcessor.h | 25 using PathType = SmallVector<char, 64>; 32 void addInclude(const PathType &IncludePath) { in addInclude() 43 std::vector<PathType> IncludeList;
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/WindowsResource/ |
D | ResourceProcessor.h | 25 using PathType = SmallVector<char, 64>; 32 void addInclude(const PathType &IncludePath) { in addInclude() 43 std::vector<PathType> IncludeList;
|
/external/rust/android-crates-io/crates/diplomat_core/src/ast/ |
D | methods.rs | 5 use super::{Attrs, Ident, Lifetime, LifetimeEnv, Mutability, PathType, TypeName}; 45 self_path_type: PathType, in from_syn() argument 231 pub path_type: PathType, 246 pub fn from_syn(rec: &syn::Receiver, path_type: PathType) -> Self { in from_syn() 267 pub path_trait: PathType, 279 pub fn from_syn(rec: &syn::Receiver, path_trait: PathType) -> Self { in from_syn() 313 pub fn from_syn(t: &syn::PatType, self_path_type: PathType) -> Self { in from_syn() 404 use crate::ast::{Attrs, Ident, Method, Path, PathType}; 416 PathType::new(Path::empty().sub_path(Ident::from("MyStructContainingMethod"))), in static_methods() 432 PathType::new(Path::empty().sub_path(Ident::from("MyStructContainingMethod"))), in static_methods() [all …]
|
/external/json-schema-validator/src/main/java/com/networknt/schema/utils/ |
D | JsonNodeUtil.java | 9 import com.networknt.schema.PathType; 24 public static Collection<String> allPaths(PathType pathType, String root, JsonNode node) { in allPaths() 30 …private static void visitNode(PathType pathType, String root, JsonNode node, Collection<String> co… in visitNode() 38 …private static void visitArray(PathType pathType, String root, JsonNode node, Collection<String> c… in visitArray() 47 …private static void visitObject(PathType pathType, String root, JsonNode node, Collection<String> … in visitObject()
|
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/ |
D | Configuration.java | 90 Configuration.builder(PathType.unix()) 181 Configuration.builder(PathType.windows()) 217 public static Builder builder(PathType pathType) { in builder() 222 final PathType pathType; 330 private final PathType pathType; 354 private Builder(PathType pathType) { in Builder() 645 PathType.ParseResult parseResult = pathType.parsePath(root); in setRoots() 661 PathType.ParseResult parseResult = pathType.parsePath(workingDirectory); in setWorkingDirectory()
|
D | PathType.java | 38 public abstract class PathType { class 44 public static PathType unix() { in unix() 67 public static PathType windows() { in windows() 77 protected PathType(boolean allowsMultipleRoots, char separator, char... otherSeparators) { in PathType() method in PathType
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTimerTree.h | 35 using PathType = llvm::SmallVector<TTindex, 8>; variable 80 PathType getPath(TTindex Index, const TranslationType &Mapping) const; 82 TTindex findPath(const PathType &Path);
|
/external/json-schema-validator/src/main/java/com/networknt/schema/ |
D | BaseJsonValidator.java | 294 private static final JsonNodePath INSTANCE = new JsonNodePath(PathType.LEGACY); 301 private static final JsonNodePath INSTANCE = new JsonNodePath(PathType.JSON_POINTER); 308 private static final JsonNodePath INSTANCE = new JsonNodePath(PathType.JSON_PATH); 320 if (this.validationContext.getConfig().getPathType().equals(PathType.JSON_POINTER)) { in atRoot() 322 } else if (this.validationContext.getConfig().getPathType().equals(PathType.LEGACY)) { in atRoot() 324 } else if (this.validationContext.getConfig().getPathType().equals(PathType.JSON_PATH)) { in atRoot()
|
D | JsonNodePath.java | 24 private final PathType type; 32 public JsonNodePath(PathType type) { in JsonNodePath() 87 public PathType getPathType() { in getPathType()
|
/external/swiftshader/third_party/llvm-16.0/llvm/lib/Transforms/Scalar/ |
D | DFAJumpThreading.cpp | 354 typedef std::deque<BasicBlock *> PathType; typedef 355 typedef std::vector<PathType> PathsType; 368 inline raw_ostream &operator<<(raw_ostream &OS, const PathType &Path) { in operator <<() 400 const PathType &getPath() const { return Path; } in getPath() 401 void setPath(const PathType &NewPath) { Path = NewPath; } in setPath() 408 PathType Path; 559 for (PathType Path : LoopPaths) { in run() 628 for (PathType Path : SuccPaths) { in paths() 629 PathType NewPath(Path); in paths() 653 for (const PathType &Path : LoopPaths) { in getStateDefMap() [all …]
|