/external/tensorflow/tensorflow/core/lib/io/ |
record_reader_writer_test.cc | 4 you may not use this file except in compliance with the License. 42 std::unique_ptr<WritableFile> file; local 43 TF_CHECK_OK(env->NewWritableFile(fname, &file)); 47 io::RecordWriter writer(file.get(), options); 78 std::unique_ptr<WritableFile> file; local 79 TF_CHECK_OK(env->NewWritableFile(fname, &file)); 84 io::RecordWriter writer(file.get(), options);
|
/external/toybox/toys/other/ |
lsmod.c | 21 FILE * file = xfopen(modfile, "r"); local 25 while (fgets(toybuf, sizeof(toybuf), file)) { 35 fclose(file);
|
lsusb.c | 20 FILE *file; local 28 file = fopen(toybuf, "r"); 29 if (file) { 32 while (fgets(toybuf, sizeof(toybuf), file)) 39 fclose(file);
|
/external/webrtc/webrtc/voice_engine/test/auto_test/ |
voe_cpu_test.cc | 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 49 VoEFile* file = _mgr.FilePtr(); local 79 CHECK(file->StartPlayingFileAsMicrophone(channel, _mgr.AudioFilename(),
|
/frameworks/base/tools/aapt2/io/ |
FileStream_test.cpp | 5 * you may not use this file except in compliance with the License. 19 #include "android-base/file.h" 35 TemporaryFile file; local 36 ASSERT_THAT(TEMP_FAILURE_RETRY(write(file.fd, input.c_str(), input.size())), Eq(21)); 37 lseek64(file.fd, 0, SEEK_SET); 40 FileInputStream in(file.release(), 10u); 90 TemporaryFile file; local 92 FileOutputStream out(file.fd, 10u); 120 lseek64(file.fd, 0, SEEK_SET); 123 ASSERT_TRUE(android::base::ReadFdToString(file.fd, &actual)) [all...] |
/frameworks/base/tools/aapt2/util/ |
Files_test.cpp | 5 * you may not use this file except in compliance with the License. 24 namespace file { namespace in namespace:aapt
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/internal/net/www/protocol/file/ |
FileURLConnectionTest.java | 3 * contributor license agreements. See the NOTICE file distributed with 5 * The ASF licenses this file to You under the Apache License, Version 2.0 6 * (the "License"); you may not use this file except in compliance with 17 package org.apache.harmony.tests.internal.net.www.protocol.file; 20 import java.io.File; 47 File file = File.createTempFile("FileURLConnectionTest", 49 os = new BufferedOutputStream(new FileOutputStream(file)); 52 return new URL("file://" + file.getAbsolutePath()) [all...] |
/libcore/luni/src/test/java/libcore/java/nio/file/ |
FileSystemAlreadyExistsExceptionTest.java | 5 * you may not use this file except in compliance with the License. 17 package libcore.java.nio.file; 21 import java.nio.file.FileSystemAlreadyExistsException;
|
ProviderNotFoundExceptionTest.java | 5 * you may not use this file except in compliance with the License. 17 package libcore.java.nio.file; 21 import java.nio.file.ProviderNotFoundException;
|
/libcore/luni/src/test/java/libcore/java/nio/file/attribute/ |
UserPrincipalNotFoundExceptionTest.java | 5 * you may not use this file except in compliance with the License. 17 package libcore.java.nio.file.attribute; 22 import java.nio.file.attribute.UserPrincipalNotFoundException;
|
/libcore/luni/src/test/java/libcore/java/nio/file/spi/ |
FileTypeDetectorTest.java | 1 package libcore.java.nio.file.spi; 5 import java.nio.file.Paths; 6 import java.nio.file.spi.FileTypeDetector; 15 // The method uses file extensions to deduce mime type, therefore, it doesn't check for 16 // file existence. 18 defaultFileTypeDetector.probeContentType(Paths.get("file.txt"))); 20 defaultFileTypeDetector.probeContentType(Paths.get("file.java")));
|
/libcore/ojluni/src/main/java/com/sun/nio/file/ |
ExtendedOpenOption.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package com.sun.nio.file; 28 import java.nio.file.OpenOption; 39 * Prevent operations on the file that request read access. 43 * Prevent operations on the file that request write access. 47 * Prevent operations on the file that request delete access.
|
SensitivityWatchEventModifier.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package com.sun.nio.file; 28 import java.nio.file.WatchEvent.Modifier; 32 * watch service implementation that polls the file system.
|
/libcore/ojluni/src/main/java/java/nio/file/ |
FileVisitResult.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file; 55 * Continue without visiting the <em>siblings</em> of this file or directory.
|
FileVisitor.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file; 28 import java.nio.file.attribute.BasicFileAttributes; 33 * {@link Files#walkFileTree Files.walkFileTree} methods to visit each file in 34 * a file tree. 37 * Suppose we want to delete a file tree. In that case, each directory should 43 * public FileVisitResult visitFile(Path file, BasicFileAttributes attrs [all...] |
SecureDirectoryStream.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 25 package java.nio.file; 27 import java.nio.file.attribute.*; 36 * traverse file trees or otherwise operate on directories in a race-free manner. 37 * Race conditions can arise when a sequence of file operations cannot be 38 * carried out in isolation. Each of the file operations defined by this 39 * interface specify a relative path. All access to the file is relativ [all...] |
SimpleFileVisitor.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file; 28 import java.nio.file.attribute.BasicFileAttributes; 66 * Invoked for a file in a directory. 72 public FileVisitResult visitFile(T file, BasicFileAttributes attrs) 75 Objects.requireNonNull(file); 81 * Invoked for a file that could not be visited [all...] |
WatchKey.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file; 140 * native file event notification facility (where available) then many of 143 * directory is moved or renamed in the file system, there is no guarantee
|
/libcore/ojluni/src/main/java/java/nio/file/attribute/ |
AclEntryFlag.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file.attribute; 42 * added to each new non-directory file created.
|
AclEntryType.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file.attribute; 36 * Explicitly grants access to a file or directory. 41 * Explicitly denies access to a file or directory.
|
AclFileAttributeView.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file.attribute; 28 import java.nio.file.*; 33 * A file attribute view that supports reading or updating a file's Access 34 * Control Lists (ACL) or file owner attributes. 36 * <p> ACLs are used to specify access rights to file system objects. An ACL i [all...] |
BasicFileAttributeView.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file.attribute; 31 * A file attribute view that provides a view of a <em>basic set</em> of file 32 * attributes common to many file systems. The basic set of file attributes 33 * consist of <em>mandatory</em> and <em>optional</em> file attributes a [all...] |
DosFileAttributes.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file.attribute; 29 * File attributes associated with a file in a file system that supports 34 * Path file = ... 35 * DosFileAttributes attrs = Files.readAttributes(file, DosFileAttributes.class) [all...] |
FileOwnerAttributeView.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file.attribute; 31 * A file attribute view that supports reading or updating the owner of a file. 32 * This file attribute view is intended for file system implementations that 33 * support a file attribute that represents an identity that is the owner o [all...] |
PosixFileAttributeView.java | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 14 * version 2 for more details (a copy is included in the LICENSE file that 26 package java.nio.file.attribute; 28 import java.nio.file.*; 33 * A file attribute view that provides a view of the file attributes commonly 34 * associated with files on file systems used by operating systems that implement 38 * POSIX</a> family of standards commonly use file systems that have [all...] |