/external/swiftshader/third_party/LLVM/include/llvm-c/ |
BitWriter.h | 31 /** Writes a module to the specified path. Returns 0 on success. */ 32 int LLVMWriteBitcodeToFile(LLVMModuleRef M, const char *Path);
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
PathShape.java | 22 import android.graphics.Path; 25 * Creates geometric paths, utilizing the {@link android.graphics.Path} class. 27 * The path can be drawn to a Canvas with its own draw() method, 35 private Path mPath; 43 * @param path a Path that defines the geometric paths for this shape 51 public PathShape(@NonNull Path path, float stdWidth, float stdHeight) { 52 mPath = path; 74 shape.mPath = new Path(mPath) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
HeadsUpAppearInterpolator.java | 19 import android.graphics.Path; 35 private static Path getAppearPath() { 36 Path path = new Path(); local 37 path.moveTo(0, 0); 40 path.cubicTo(X1 * 0.8f / XTOT, y1 / y2, 43 path.cubicTo((X1 + X2 * 0.4f) / XTOT, y1 / y2, 46 return path;
|
/frameworks/compile/mclinker/lib/MC/ |
ContextFactory.cpp | 18 : UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>(pNum) { 24 LDContext* ContextFactory::produce(const sys::fs::Path& pPath) { 27 result = UniqueGCFactoryBase<sys::fs::Path, LDContext, 0>::allocate(); 35 return produce(sys::fs::Path(pPath));
|
/frameworks/compile/mclinker/unittests/ |
PathTest.h | 12 #include "mcld/Support/Path.h" 18 * \brief a testcase for mcld::Path and its non-member funtions. 20 * \see Path 37 mcld::sys::fs::Path* m_pTestee;
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
LambdaClassMaker.java | 24 import java.nio.file.Path; 36 private final Path rootDirectory; 37 private final Map<Path, LambdaInfo> generatedClasses = new LinkedHashMap<>(); 38 private final Set<Path> existingPaths = new HashSet<>(); 40 public LambdaClassMaker(Path rootDirectory) { 58 Path generatedClassFile = getOnlyElement(findUnprocessed(invokerInternalName + "$$Lambda$")); 67 public ImmutableMap<Path, LambdaInfo> drain() { 68 ImmutableMap<Path, LambdaInfo> result = ImmutableMap.copyOf(generatedClasses); 73 private ImmutableList<Path> findUnprocessed(String pathPrefix) throws IOException { 75 // will not contain '/' and searches will fail. So, construct an absolute path from the give [all...] |
DirectoryOutputFileProvider.java | 21 import java.nio.file.Path; 26 private final Path root; 28 public DirectoryOutputFileProvider(Path root) { 34 Path path = root.resolve(filename); local 35 createParentFolder(path); 37 OutputStream os = Files.newOutputStream(path)) { 44 Path path = root.resolve(filename); local 45 createParentFolder(path); [all...] |
/frameworks/base/core/java/android/transition/ |
PatternPathMotion.java | 21 import android.graphics.Path; 29 * A PathMotion that takes a Path pattern and applies it to the separation between two points. 30 * The starting point of the Path will be moved to the origin and the end point will be scaled 41 private Path mOriginalPatternPath; 43 private final Path mPatternPath = new Path(); 62 Path pattern = PathParser.createPathFromPathData(pathData); 71 * Creates a PatternPathMotion with the Path defining a pattern of motion between two 76 * @param patternPath A Path to be used as a pattern for two-dimensional motion. 78 public PatternPathMotion(Path patternPath) 139 Path path = new Path(); local [all...] |
/frameworks/support/transition/src/main/java/androidx/transition/ |
PatternPathMotion.java | 22 import android.graphics.Path; 32 * A PathMotion that takes a Path pattern and applies it to the separation between two points. 33 * The starting point of the Path will be moved to the origin and the end point will be scaled 44 private Path mOriginalPatternPath; 46 private final Path mPatternPath = new Path(); 66 Path pattern = PathParser.createPathFromPathData(pathData); 74 * Creates a PatternPathMotion with the Path defining a pattern of motion between two 79 * @param patternPath A Path to be used as a pattern for two-dimensional motion. 81 public PatternPathMotion(Path patternPath) 140 Path path = new Path(); local [all...] |
PropertyValuesHolderUtils.java | 20 import android.graphics.Path; 29 * a Path along which the values should be animated. This variant supports a 34 * @param path The Path along which the values should be animated. 37 static PropertyValuesHolder ofPointF(Property<?, PointF> property, Path path) { 39 return PropertyValuesHolder.ofObject(property, null, path); 41 return PropertyValuesHolder.ofFloat(new PathProperty<>(property, path), 0f, 1f);
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
FilesTest.java | 40 import java.nio.file.Path; 69 private Path mockPath; 71 private Path mockPath2; 129 Path unicodeFilePath = filesSetup.getPathInTestDir("??????? ?????"); 158 Path filePath2 = filesSetup.getPathInTestDir("new_file"); 181 Path dirPath = filesSetup.getPathInTestDir("dir1/dir2/dir3"); 199 public void test_createDirectories$Path$Attr() throws IOException { 200 Path dirPath = filesSetup.getPathInTestDir("dir1/dir2/dir3"); 216 Path dirPath2 = filesSetup.getPathInTestDir("dir1/dir2/dir4"); 223 public void test_createDirectories$Path$Attr_NPE() throws IOException [all...] |
/system/core/libcutils/ |
canned_fs_config.cpp | 30 const char* path; member in struct:__anon2781 35 } Path; 37 static Path* canned_data = NULL; 42 return strcmp(((Path*)a)->path, ((Path*)b)->path); 56 Path* p; 63 canned_data = (Path*) realloc(canned_data, canned_alloc * sizeof(Path)); [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
StepRenderer.java | 19 import android.graphics.Path;
34 protected void appendToPath(Path path, PointF thisPoint, PointF lastPoint) {
35 //path.lineTo(thisPoint.x, thisPoint.y);
37 path.lineTo(thisPoint.x, lastPoint.y);
38 path.lineTo(thisPoint.x, thisPoint.y);
|
/external/clang/lib/Basic/ |
FileSystemStatCache.cpp | 16 #include "llvm/Support/Path.h" 35 /// path, using the cache to accelerate it if possible. This returns true if 36 /// the path does not exist or false if it exists. 43 bool FileSystemStatCache::get(const char *Path, FileData &Data, bool isFile, 51 R = Cache->getStat(Path, Data, isFile, F, FS); 55 llvm::ErrorOr<vfs::Status> Status = FS.status(Path); 70 auto OwnedFile = FS.openFileForRead(Path); 93 // If the path doesn't exist, return failure. 96 // If the path exists, make sure that its "directoryness" matches the clients 110 MemorizeStatCalls::getStat(const char *Path, FileData &Data, bool isFile [all...] |
/external/testng/src/main/java/org/testng/internal/ |
PathUtils.java | 19 import java.nio.file.Path; 29 Path rootPath = Paths.get(suite.getFileName()).getParent();
|
/frameworks/support/compat/src/main/java/androidx/core/view/animation/ |
PathInterpolatorApi14.java | 19 import android.graphics.Path; 24 * A path interpolator implementation compatible with API 14+. 29 * Governs the accuracy of the approximation of the {@link Path}. 36 PathInterpolatorApi14(Path path) { 37 final PathMeasure pathMeasure = new PathMeasure(path, false /* forceClosed */); 98 private static Path createQuad(float controlX, float controlY) { 99 final Path path = new Path(); local 107 final Path path = new Path(); local [all...] |
/libcore/ojluni/src/main/java/java/nio/file/spi/ |
FileTypeDetector.java | 28 import java.nio.file.Path; 45 * @see java.nio.file.Files#probeContentType(Path) 86 * @param path 87 * the path to the file to probe 104 public abstract String probeContentType(Path path)
|
/device/linaro/bootloader/edk2/StdLib/PosixLib/Gen/ |
access.c | 28 the Path argument, for accessibility according to the bit pattern contained
34 If Path ends in '/' or '\\', the target must be a directory, otherwise it doesn't matter.
37 @param[in] Path Path or name of the file to be checked.
47 const char *Path,
57 if((Path == NULL) || ((Mode & ~GOOD_MODE) != 0)) {
61 PLength = strlen(Path);
66 retval = stat(Path, &FileStat);
68 /* Path exists. FileStat now holds valid information. */
69 WantDir = isDirSep(Path[PLength - 1]); // Does Path end in '/' or '\\' ? [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
MediaSource.java | 37 public Path findPathByUri(Uri uri, String type) { 41 public abstract MediaObject createMediaObject(Path path); 49 public Path getDefaultSetOf(Path item) { 62 public PathId(Path path, int id) { 63 this.path = path; 66 public Path path field in class:MediaSource.PathId [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
MediaSetUtils.java | 24 import com.android.gallery3d.data.Path; 47 private static final Path[] CAMERA_PATHS = { 48 Path.fromString("/local/all/" + CAMERA_BUCKET_ID), 49 Path.fromString("/local/image/" + CAMERA_BUCKET_ID), 50 Path.fromString("/local/video/" + CAMERA_BUCKET_ID)}; 52 public static boolean isCameraSource(Path path) { 53 return CAMERA_PATHS[0] == path || CAMERA_PATHS[1] == path 54 || CAMERA_PATHS[2] == path; [all...] |
/external/abi-compliance-checker/ |
Makefile.pl | 28 use File::Path qw(mkpath rmtree); 127 print STDERR "ERROR: destdir is not absolute path\n"; 146 print STDERR "ERROR: prefix is not absolute path\n"; 193 if($DESTDIR) { # relative path 196 else { # absolute path 218 # check PATH 219 my $Warn = "WARNING: your PATH variable doesn't include \'$EXE_PATH\'\n"; 223 if($ENV{"PATH"}!~/(\A|[:;])\Q$EXE_PATH\E[\/\\]?(\Z|[:;])/i) { 229 if($ENV{"PATH"}!~/(\A|[:;])\Q$EXE_PATH\E[\/\\]?(\Z|[:;])/) { 253 foreach my $Path (sort keys(%Files) [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Utility/ |
Path.c | 2 Device Abstraction: Path manipulation utilities.
25 /** Identify the type of path pointed to by Path.
28 ^\\ Absolute Path
29 ^\. Relative Path
30 ^[^:\\]: Mapping Path
31 .* Relative Path
34 is the Map Name, pointed to by Path, and the part to the right of the ':' is pointed
37 If Path was not a Mapping Path, then NewPath is set to Path. [all...] |
/prebuilts/jdk/jdk8/darwin-x86/sample/nio/file/ |
WatchDir.java | 66 private void register(Path dir) throws IOException { 77 private void registerAll(final Path start) throws IOException { 79 Files.walkFileTree(start, new SimpleFileVisitor<Path>() { 81 public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) 93 WatchDir(Path dir, boolean recursive) throws IOException { 132 WatchEvent<Path> ev = cast(event); 133 Path name = ev.context(); 134 Path child = ((Path)key.watchable()).resolve(name); 182 Path dir = Paths.get(args[dirArg]) [all...] |
/prebuilts/jdk/jdk8/linux-x86/sample/nio/file/ |
WatchDir.java | 66 private void register(Path dir) throws IOException { 77 private void registerAll(final Path start) throws IOException { 79 Files.walkFileTree(start, new SimpleFileVisitor<Path>() { 81 public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) 93 WatchDir(Path dir, boolean recursive) throws IOException { 132 WatchEvent<Path> ev = cast(event); 133 Path name = ev.context(); 134 Path child = ((Path)key.watchable()).resolve(name); 182 Path dir = Paths.get(args[dirArg]) [all...] |
/external/abi-dumper/ |
Makefile.pl | 25 use File::Path qw(mkpath rmtree); 120 print STDERR "ERROR: destdir is not absolute path\n"; 139 print STDERR "ERROR: prefix is not absolute path\n"; 189 if($DESTDIR) { # relative path 192 else { # absolute path 210 # check PATH 211 if($ENV{"PATH"}!~/(\A|:)\Q$EXE_PATH\E[\/]?(\Z|:)/) { 212 print "WARNING: your PATH variable doesn't include \'$EXE_PATH\'\n"; 226 foreach my $Path (sort keys(%Files)) 228 my $Inst = $Path; [all...] |