/aosp_15_r20/cts/tests/tests/graphics/src/android/graphics/fonts/ |
H A D | FontTest.java | 75 final File file = new File(ctx.getCacheDir(), prefix + i); in getTempFile() local 87 private static ByteBuffer mmap(AssetManager am, String path) { in mmap() 88 File file = getTempFile(); in mmap() local 102 private static ByteBuffer mmap(File file) { in mmap() 111 private static boolean copyToFile(File file, InputStream is) { in copyToFile() 115 private static boolean copyToFile(File file, InputStream is, byte[] prepend, byte[] append) { in copyToFile() 172 String path = FontTestUtil.getFontPathFromStyle(weight, italic); in testBuilder_buffer() local 193 String path = FontTestUtil.getTtcFontFileInAsset(); in testBuilder_buffer_ttc() local 214 String path = FontTestUtil.getVFFontInAsset(); in testBuilder_buffer_vf() local 238 String path = FontTestUtil.getFontPathFromStyle(weight, italic); in testBuilder_buffer_override() local [all …]
|
/aosp_15_r20/external/sdk-platform-java/gapic-generator-java/src/main/java/com/google/api/generator/gapic/protoparser/ |
H A D | SourceCodeInfoParser.java | 65 FileDescriptor file = message.getFile(); in getLocation() local 75 FileDescriptor file = field.getFile(); in getLocation() local 86 FileDescriptor file = service.getFile(); in getLocation() local 96 FileDescriptor file = method.getFile(); in getLocation() local 106 FileDescriptor file = enumType.getFile(); in getLocation() local 116 FileDescriptor file = enumValue.getFile(); in getLocation() local 126 FileDescriptor file = oneof.getFile(); in getLocation() local 139 private Location getLocation(FileDescriptor file, String path) { in getLocation() 148 private ImmutableList<Location> getCandidateLocations(FileDescriptor file, String path) { in getCandidateLocations() 166 String path = descriptorToPath.get(message); in buildPath() local [all …]
|
/aosp_15_r20/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/ |
H A D | FileSystemView.java | 98 DirectoryEntry lookUpWithLock(JimfsPath path, Set<? super LinkOption> options) in lookUpWithLock() 109 private DirectoryEntry lookUp(JimfsPath path, Set<? super LinkOption> options) in lookUp() 125 Directory file = (Directory) lookUpWithLock(dir, options).requireDirectory(dir).file(); in newDirectoryStream() local 149 public ImmutableMap<Name, Long> snapshotModifiedTimes(JimfsPath path) throws IOException { in snapshotModifiedTimes() 175 public boolean isSameFile(JimfsPath path, FileSystemView view2, JimfsPath path2) in isSameFile() 183 File file = lookUp(path, Options.FOLLOW_LINKS).fileOrNull(); in isSameFile() local 196 JimfsPath path, PathService pathService, Set<? super LinkOption> options) throws IOException { in toRealPath() 224 public Directory createDirectory(JimfsPath path, FileAttribute<?>... attrs) throws IOException { in createDirectory() 233 JimfsPath path, JimfsPath target, FileAttribute<?>... attrs) throws IOException { in createSymbolicLink() 246 JimfsPath path, in createFile() [all …]
|
/aosp_15_r20/system/libbase/ |
H A D | file_test.cpp | 38 TEST(file, ReadFileToString_ENOENT) { in TEST() argument 46 TEST(file, ReadFileToString_WriteStringToFile) { in TEST() argument 59 TEST(file, ReadFileToString_WriteStringToFile_symlink) { in TEST() argument 78 TEST(file, WriteStringToFile2) { in TEST() argument 97 TEST(file, NonUnicodeCharsWindows) { in TEST() argument 113 auto path(new_tmp + L"锦绣成都\\"); in TEST() local 128 auto path(new_tmp + L"директория с длинным именем\\"); in TEST() local 143 auto path(new_tmp + L"äüöß weiß\\"); in TEST() local 161 TEST(file, RootDirectoryWindows) { in TEST() argument 179 TEST(file, WriteStringToFd_StringLiteral) { in TEST() argument [all …]
|
/aosp_15_r20/development/samples/ApiDemos/src/com/example/android/apis/content/ |
H A D | ExternalStorage.java | 185 File path = Environment.getExternalStoragePublicDirectory( in createExternalStoragePublicPicture() local 187 File file = new File(path, "DemoPicture.jpg"); in createExternalStoragePublicPicture() local 227 File path = Environment.getExternalStoragePublicDirectory( in deleteExternalStoragePublicPicture() local 229 File file = new File(path, "DemoPicture.jpg"); in deleteExternalStoragePublicPicture() local 238 File path = Environment.getExternalStoragePublicDirectory( in hasExternalStoragePublicPicture() local 240 File file = new File(path, "DemoPicture.jpg"); in hasExternalStoragePublicPicture() local 253 File path = getExternalFilesDir(Environment.DIRECTORY_PICTURES); in createExternalStoragePrivatePicture() local 254 File file = new File(path, "DemoPicture.jpg"); in createExternalStoragePrivatePicture() local 291 File path = getExternalFilesDir(Environment.DIRECTORY_PICTURES); in deleteExternalStoragePrivatePicture() local 293 File file = new File(path, "DemoPicture.jpg"); in deleteExternalStoragePrivatePicture() local [all …]
|
/aosp_15_r20/external/trace-cmd/tracecmd/ |
H A D | trace-stat.c | 28 const char *file) in get_instance_file_fd() 30 char *path; in get_instance_file_fd() local 62 char *file; in append_file() local 72 static char *get_fd_content(int fd, const char *file) in get_fd_content() 93 char *get_file_content(const char *file) in get_file_content() 109 const char *file) in get_instance_file_content() 161 struct event_iter *trace_event_iter_alloc(const char *path) in trace_event_iter_alloc() 178 trace_event_iter_next(struct event_iter *iter, const char *path, const char *system) in trace_event_iter_next() 253 static int process_individual_events(const char *path, struct event_iter *iter) in process_individual_events() 257 char *file; in process_individual_events() local [all …]
|
/aosp_15_r20/external/ltp/include/ |
H A D | tst_safe_macros_inline.h | 17 static inline int safe_ftruncate(const char *file, const int lineno, in safe_ftruncate() 39 static inline int safe_posix_fadvise(const char *file, const int lineno, in safe_posix_fadvise() 57 static inline int safe_truncate(const char *file, const int lineno, in safe_truncate() 58 const char *path, off_t length) in safe_truncate() 76 #define SAFE_TRUNCATE(path, length) \ argument 79 static inline int safe_stat(const char *file, const int lineno, in safe_stat() 80 const char *path, struct stat *buf) in safe_stat() 98 #define SAFE_STAT(path, buf) \ argument 101 static inline int safe_fstat(const char *file, const int lineno, in safe_fstat() 121 static inline int safe_lstat(const char *file, const int lineno, in safe_lstat() [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/ |
H A D | gcs_filesystem_test.cc | 92 std::string GetURIForPath(absl::string_view path) { in GetURIForPath() 101 new TF_WritableFile, [](TF_WritableFile* file) { in GetWriter() 114 reader(new TF_RandomAccessFile, [](TF_RandomAccessFile* file) { in GetReader() 125 void WriteString(const std::string& path, const std::string& content) { in WriteString() 137 std::string ReadAll(const std::string& path) { in ReadAll() 170 ::testing::AssertionResult WriteToServer(const std::string& path, size_t offset, in WriteToServer() 189 ::testing::AssertionResult InsertObject(const std::string& path, in InsertObject() 218 ::testing::AssertionResult CompareWithServer(const std::string& path, in CompareWithServer() 263 TF_RandomAccessFile* file = new TF_RandomAccessFile; in TEST_F() local 302 TF_WritableFile* file = new TF_WritableFile; in TEST_F() local [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/posix/ |
H A D | posix_filesystem.cc | 47 static void Cleanup(TF_RandomAccessFile* file) { in Cleanup() 56 static int64_t Read(const TF_RandomAccessFile* file, uint64_t offset, size_t n, in Read() 105 static void Cleanup(TF_WritableFile* file) { in Cleanup() 111 static void Append(const TF_WritableFile* file, const char* buffer, size_t n, in Append() 122 static int64_t Tell(const TF_WritableFile* file, TF_Status* status) { in Tell() 135 static void Flush(const TF_WritableFile* file, TF_Status* status) { in Flush() 143 static void Sync(const TF_WritableFile* file, TF_Status* status) { in Sync() 149 static void Close(const TF_WritableFile* file, TF_Status* status) { in Close() 198 const char* path, TF_RandomAccessFile* file, in NewRandomAccessFile() 218 static void NewWritableFile(const TF_Filesystem* filesystem, const char* path, in NewWritableFile() [all …]
|
/aosp_15_r20/external/ltp/lib/ |
H A D | safe_macros.c | 28 char *safe_basename(const char *file, const int lineno, in safe_basename() 29 void (*cleanup_fn) (void), char *path) in safe_basename() 44 safe_chdir(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_chdir() 45 const char *path) in safe_chdir() 63 safe_close(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_close() 82 safe_creat(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_creat() 101 char *safe_dirname(const char *file, const int lineno, in safe_dirname() 102 void (*cleanup_fn) (void), char *path) in safe_dirname() 116 char *safe_getcwd(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_getcwd() 131 struct passwd *safe_getpwnam(const char *file, const int lineno, in safe_getpwnam() [all …]
|
H A D | tst_safe_file_at.c | 35 int safe_openat(const char *const file, const int lineno, in safe_openat() 36 const int dirfd, const char *const path, const int oflags, ...) in safe_openat() 60 ssize_t safe_file_readat(const char *const file, const int lineno, in safe_file_readat() 61 const int dirfd, const char *const path, in safe_file_readat() 86 int tst_file_vprintfat(const int dirfd, const char *const path, in tst_file_vprintfat() 107 int tst_file_printfat(const int dirfd, const char *const path, in tst_file_printfat() 120 int safe_file_vprintfat(const char *const file, const int lineno, in safe_file_vprintfat() 121 const int dirfd, const char *const path, in safe_file_vprintfat() 160 int safe_file_printfat(const char *const file, const int lineno, in safe_file_printfat() 161 const int dirfd, const char *const path, in safe_file_printfat() [all …]
|
H A D | safe_file_ops.c | 69 int file_scanf(const char *file, const int lineno, in file_scanf() 70 const char *path, const char *fmt, ...) in file_scanf() 120 void safe_file_scanf(const char *file, const int lineno, in safe_file_scanf() 122 const char *path, const char *fmt, ...) in safe_file_scanf() 168 int file_lines_scanf(const char *file, const int lineno, in file_lines_scanf() 170 const char *path, const char *fmt, ...) in file_lines_scanf() 212 int file_printf(const char *file, const int lineno, in file_printf() 213 const char *path, const char *fmt, ...) in file_printf() 253 static void safe_file_vprintf(const char *file, const int lineno, in safe_file_vprintf() 254 void (*cleanup_fn)(void), const char *path, const char *fmt, in safe_file_vprintf() [all …]
|
/aosp_15_r20/external/pytorch/test/cpp/c10d/ |
H A D | ProcessGroupGlooTest.cpp | 33 SignalTest(const std::string& path) : path_(path) {} in SignalTest() 89 const std::string& path, in testSignal() 125 const std::string& path, in initialize() 145 CollectiveTest(std::string path) : path_(std::move(path)) {} in CollectiveTest() 262 const std::string& path, in testAllreduce() 308 const std::string& path, in testAllreduceUsingWorkAPI() 352 const std::string& path, in testBroadcast() 417 void testAlltoall(const std::string& path, const at::DeviceType b) { in testAlltoall() 499 void testBarrier(const std::string& path) { in testBarrier() 526 void testMonitoredBarrier(const std::string& path) { in testMonitoredBarrier() [all …]
|
/aosp_15_r20/external/okio/okio/src/commonMain/kotlin/okio/ |
H A D | ForwardingFileSystem.kt | 147 val path = onPathParameter(path, "canonicalize", "path") in onPathParameter() constant 154 val path = onPathParameter(path, "metadataOrNull", "path") in metadataOrNull() constant 187 val file = onPathParameter(file, "openReadOnly", "file") in openReadOnly() constant 193 val file = onPathParameter(file, "openReadWrite", "file") in openReadWrite() constant 199 val file = onPathParameter(file, "source", "file") in source() constant 205 val file = onPathParameter(file, "sink", "file") in sink() constant 211 val file = onPathParameter(file, "appendingSink", "file") in appendingSink() constant 230 val path = onPathParameter(path, "delete", "path") in delete() constant
|
/aosp_15_r20/external/libtracefs/src/ |
H A D | tracefs-instance.c | 149 char *path; in get_trace_file_permissions() local 190 char *path = NULL; in tracefs_instance_create() local 238 char file[PATH_MAX]; in tracefs_instance_alloc() local 273 char *path; in tracefs_instance_destroy() local 305 tracefs_instance_get_file(struct tracefs_instance *instance, const char *file) in tracefs_instance_get_file() 307 char *path = NULL; in tracefs_instance_get_file() local 333 char *path = NULL; in tracefs_instance_get_dir() local 380 char *path; in tracefs_instance_get_buffer_size() local 405 char *path; in tracefs_instance_set_buffer_size() local 444 static int write_file(const char *file, const char *str, int flags) in write_file() [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/clap/ |
D | Cargo.toml | 59 file = "CHANGELOG.md" qkey 66 file = "CHANGELOG.md" qkey 71 file = "CHANGELOG.md" qkey 78 file = "CHANGELOG.md" qkey 87 file = "CHANGELOG.md" qkey 94 file = "CITATION.cff" qkey 99 file = "CITATION.cff" qkey 105 file = "src/lib.rs" qkey 153 path = "examples/multicall-busybox.rs" qkey 157 path = "examples/multicall-hostname.rs" qkey [all …]
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/clap-4.5.4/ |
H A D | Cargo.toml | 59 file = "CHANGELOG.md" qkey 66 file = "CHANGELOG.md" qkey 71 file = "CHANGELOG.md" qkey 78 file = "CHANGELOG.md" qkey 87 file = "CHANGELOG.md" qkey 94 file = "CITATION.cff" qkey 99 file = "CITATION.cff" qkey 105 file = "src/lib.rs" qkey 153 path = "examples/multicall-busybox.rs" qkey 157 path = "examples/multicall-hostname.rs" qkey [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/fs-err/src/ |
D | lib.rs | 12 let file = File::open("does not exist.txt")?; localVariable 52 let file = File::open("my-config.json")?; localVariable 75 mod file; module 78 mod path; module 98 let path = path.as_ref(); in read() localVariable 99 let mut file = file::open(path).map_err(|err_gen| err_gen(path.to_path_buf()))?; in read() localVariable 110 let path = path.as_ref(); in read_to_string() localVariable 111 let mut file = file::open(path).map_err(|err_gen| err_gen(path.to_path_buf()))?; in read_to_string() localVariable 122 let path = path.as_ref(); in write() localVariable 151 let path = path.as_ref(); in create_dir() localVariable [all …]
|
/aosp_15_r20/external/python/cpython2/Modules/zlib/ |
D | gzlib.c | 91 local gzFile gz_open(path, fd, mode) in gz_open() argument 270 gzFile ZEXPORT gzopen(path, mode) in gzopen() argument 278 gzFile ZEXPORT gzopen64(path, mode) in gzopen64() argument 290 char *path; /* identifier for error messages */ local 307 gzFile ZEXPORT gzopen_w(path, mode) in gzopen_w() argument 316 int ZEXPORT gzbuffer(file, size) in gzbuffer() argument 343 int ZEXPORT gzrewind(file) in gzrewind() argument 366 z_off64_t ZEXPORT gzseek64(file, offset, whence) in gzseek64() argument 443 z_off_t ZEXPORT gzseek(file, offset, whence) in gzseek() argument 455 z_off64_t ZEXPORT gztell64(file) in gztell64() argument [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/libz-sys/src/zlib/ |
D | gzlib.c | 91 local gzFile gz_open(path, fd, mode) in gz_open() argument 270 gzFile ZEXPORT gzopen(path, mode) in gzopen() argument 278 gzFile ZEXPORT gzopen64(path, mode) in gzopen64() argument 290 char *path; /* identifier for error messages */ local 307 gzFile ZEXPORT gzopen_w(path, mode) in gzopen_w() argument 316 int ZEXPORT gzbuffer(file, size) in gzbuffer() argument 343 int ZEXPORT gzrewind(file) in gzrewind() argument 366 z_off64_t ZEXPORT gzseek64(file, offset, whence) in gzseek64() argument 443 z_off_t ZEXPORT gzseek(file, offset, whence) in gzseek() argument 455 z_off64_t ZEXPORT gztell64(file) in gztell64() argument [all …]
|
/aosp_15_r20/external/zstd/zlibWrapper/ |
H A D | gzlib.c | 90 local gzFile gz_open(const void *path, int fd, const char *mode) { in gz_open() 265 gzFile ZEXPORT gzopen(const char *path, const char *mode) { in gzopen() 270 gzFile ZEXPORT gzopen64(const char *path, const char *mode) { in gzopen64() 276 char *path; /* identifier for error messages */ in gzdopen() local 293 gzFile ZEXPORT gzopen_w(const wchar_t *path, const char *mode) { in gzopen_w() 299 int ZEXPORT gzbuffer(gzFile file, unsigned size) { in gzbuffer() 323 int ZEXPORT gzrewind(gzFile file) { in gzrewind() 344 z_off64_t ZEXPORT gzseek64(gzFile file, z_off64_t offset, int whence) { in gzseek64() 417 z_off_t ZEXPORT gzseek(gzFile file, z_off_t offset, int whence) { in gzseek() 425 z_off64_t ZEXPORT gztell64(gzFile file) { in gztell64() [all …]
|
/aosp_15_r20/external/zlib/ |
H A D | gzlib.c | 88 local gzFile gz_open(const void *path, int fd, const char *mode) { in gz_open() 263 gzFile ZEXPORT gzopen(const char *path, const char *mode) { in gzopen() 268 gzFile ZEXPORT gzopen64(const char *path, const char *mode) { in gzopen64() 274 char *path; /* identifier for error messages */ in gzdopen() local 291 gzFile ZEXPORT gzopen_w(const wchar_t *path, const char *mode) { in gzopen_w() 297 int ZEXPORT gzbuffer(gzFile file, unsigned size) { in gzbuffer() 321 int ZEXPORT gzrewind(gzFile file) { in gzrewind() 342 z_off64_t ZEXPORT gzseek64(gzFile file, z_off64_t offset, int whence) { in gzseek64() 415 z_off_t ZEXPORT gzseek(gzFile file, z_off_t offset, int whence) { in gzseek() 423 z_off64_t ZEXPORT gztell64(gzFile file) { in gztell64() [all …]
|
/aosp_15_r20/external/guava/guava-tests/test/com/google/common/io/ |
H A D | MoreFilesTest.java | 163 Path file = fs.getPath("file"); in testByteSource_size_ofSymlinkToRegularFile() local 177 Path file = fs.getPath("file"); in testByteSource_size_ofSymlinkToRegularFile_nofollowLinks() local 265 Path path = FS.getPath("nonexistent.file"); in testCreateParentDirectories_relativePath() local 272 Path path = tempDir.resolve("nonexistent.file"); in testCreateParentDirectories_noParentsNeeded() local 278 Path path = tempDir.resolve("parent/nonexistent.file"); in testCreateParentDirectories_oneParentNeeded() local 286 Path path = tempDir.resolve("grandparent/parent/nonexistent.file"); in testCreateParentDirectories_multipleParentsNeeded() local 301 Path file = root().resolve("parent/nonexistent.file"); in testCreateParentDirectories_noPermission() local 310 Path file = parent.resolve("foo"); in testCreateParentDirectories_nonDirectoryParentExists() local 326 Path file = symlink.resolve("foo"); in testCreateParentDirectories_symlinkParentExists() local 373 Path file = fs.getPath("file"); in testPredicates() local [all …]
|
/aosp_15_r20/external/cronet/base/files/ |
H A D | file_enumerator_unittest.cc | 42 const FilePath path; member 94 for (auto file = enumerator.Next(); !file.empty(); file = enumerator.Next()) in RunEnumerator() local 99 bool CreateDummyFile(const FilePath& path) { in CreateDummyFile() 134 const FilePath path = FilePath::FromUTF8Unsafe("some_not_existing_path"); in TEST() local 162 const FilePath& path = temp_dir.GetPath(); in TEST() local 163 const FilePath file = path.AppendASCII("test.txt"); in TEST() local 177 const FilePath& path = temp_dir.GetPath(); in TEST() local 191 const FilePath& path = temp_dir.GetPath(); in TEST() local 192 const FilePath file = path.AppendASCII("test.txt"); in TEST() local 210 const FilePath& path = temp_dir.GetPath(); in TEST() local [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/ |
D | imp.py | 73 def cache_from_source(path, debug_override=None): argument 92 def source_from_cache(path): argument 123 def __init__(self, path): argument 139 def __init__(self, fullname, path, file=None): argument 143 def get_data(self, path): argument 166 def load_source(name, pathname, file=None): argument 185 def load_compiled(name, pathname, file=None): argument 200 def load_package(name, path): argument 220 def load_module(name, file, filename, details): argument 255 def find_module(name, path=None): argument [all …]
|