Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 401) sorted by relevance

12345678910>>...17

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Ddescriptor_database_unittest.cc109 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase()
129 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase()
152 virtual bool AddToDatabase(const FileDescriptorProto& file) { in AddToDatabase()
196 FileDescriptorProto file; in TEST_P() local
203 FileDescriptorProto file; in TEST_P() local
211 FileDescriptorProto file; in TEST_P() local
241 FileDescriptorProto file; in TEST_P() local
248 FileDescriptorProto file; in TEST_P() local
255 FileDescriptorProto file; in TEST_P() local
262 FileDescriptorProto file; in TEST_P() local
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/cpp/
Dcpp_helpers.h180 inline bool UseUnknownFieldSet(const FileDescriptor* file, in UseUnknownFieldSet()
195 inline bool HasGeneratedMethods(const FileDescriptor* file, in HasGeneratedMethods()
201 inline bool HasDescriptorMethods(const FileDescriptor* file, in HasDescriptorMethods()
207 inline bool HasGenericServices(const FileDescriptor* file, in HasGenericServices()
217 inline bool HasFastArraySerialization(const FileDescriptor* file, in HasFastArraySerialization()
256 inline bool HasFieldPresence(const FileDescriptor* file) { in HasFieldPresence()
262 inline bool HasPreservingUnknownEnumSemantics(const FileDescriptor* file) { in HasPreservingUnknownEnumSemantics()
266 inline bool SupportsArenas(const FileDescriptor* file) { in SupportsArenas()
295 const FileDescriptor* file, const Options& options) { in GetOptimizeFor()
Dmetadata_test.cc60 explicit DescriptorCapturingGenerator(FileDescriptorProto* file) in DescriptorCapturingGenerator()
63 virtual bool Generate(const FileDescriptor* file, const string& parameter, in Generate()
85 bool CaptureMetadata(const string& filename, FileDescriptorProto* file, in CaptureMetadata()
193 FileDescriptorProto file; in TEST_F() local
210 FileDescriptorProto file; in TEST_F() local
222 FileDescriptorProto file; in TEST_F() local
/frameworks/base/core/tests/coretests/src/android/os/
DMemoryFileTest.java75 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testRun() local
106 MemoryFile file = new MemoryFile("MemoryFileTest", 10); in testOutputStreamAdvances() local
127 MemoryFile file = new MemoryFile("MemoryFileTest", testString.length); in readIndexOutOfBoundsException() local
172 MemoryFile file = new MemoryFile("MemoryFileTest", testString.length); in testReadEOF() local
194 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseClose() local
204 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseRead() local
219 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseWrite() local
234 MemoryFile file = new MemoryFile("MemoryFileTest", 1000000); in testCloseAllowPurging() local
253 MemoryFile file = new MemoryFile("MemoryFileTest", 5000000); in testCloseLeak() local
/frameworks/rs/script_api/
DGenerateDocumentation.cpp35 static void writeHeader(GeneratedFile* file, const string& title, in writeHeader()
64 static void writeFooter(GeneratedFile* file) { in writeFooter()
203 static bool generateHtmlParagraphs(GeneratedFile* file, const vector<string>& description) { in generateHtmlParagraphs()
229 static void writeSummaryTableStart(GeneratedFile* file, const string& label, bool labelIsHeading) { in writeSummaryTableStart()
239 static void writeSummaryTableEnd(GeneratedFile* file) { in writeSummaryTableEnd()
275 static void writeSummaryTable(GeneratedFile* file, const ostringstream* entries, const char* name, in writeSummaryTable()
289 static void writeSummaryTables(GeneratedFile* file, const map<string, Constant*>& constants, in writeSummaryTables()
312 static void writeHtmlVersionTag(GeneratedFile* file, VersionInfo info, in writeHtmlVersionTag()
351 static void writeDetailedTypeSpecification(GeneratedFile* file, const TypeSpecification* spec) { in writeDetailedTypeSpecification()
408 static void writeDetailedConstantSpecification(GeneratedFile* file, ConstantSpecification* c) { in writeDetailedConstantSpecification()
[all …]
DGenerateHeaderFiles.cpp45 static void writeVersionGuardStart(GeneratedFile* file, VersionInfo info, unsigned int finalVersion… in writeVersionGuardStart()
75 static void writeVersionGuardEnd(GeneratedFile* file, VersionInfo info) { in writeVersionGuardEnd()
84 static void writeComment(GeneratedFile* file, const string& name, const string& briefComment, in writeComment()
113 static void writeConstantComment(GeneratedFile* file, const Constant& constant) { in writeConstantComment()
119 static void writeConstantSpecification(GeneratedFile* file, const ConstantSpecification& spec) { in writeConstantSpecification()
128 static void writeTypeSpecification(GeneratedFile* file, const TypeSpecification& spec) { in writeTypeSpecification()
196 static void writeTypeComment(GeneratedFile* file, const Type& type) { in writeTypeComment()
201 static void writeFunctionPermutation(GeneratedFile* file, const FunctionSpecification& spec, in writeFunctionPermutation()
283 static void writeFunctionComment(GeneratedFile* file, const Function& function) { in writeFunctionComment()
309 static void writeFunctionSpecification(GeneratedFile* file, const FunctionSpecification& spec) { in writeFunctionSpecification()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/storage/
DStorageManagerIntegrationTest.java38 final File file = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testMountSingleObb() local
90 final File file = createObbFile(OBB_FILE_3_ENCRYPTED, R.raw.obb_enc_file100_orig3); in testMountSingleEncryptedObb() local
102 final File file = createObbFile("bad password@$%#@^*(!&)", R.raw.obb_enc_file100_orig3); in testMountSingleEncryptedObbInvalidPassword() local
142 final File file = createObbFile(OBB_FILE_2_UNSIGNED, R.raw.obb_file2_nosign); in testMountUnsignedObb() local
157 … final File file = createObbFile(OBB_FILE_3_BAD_PACKAGENAME, R.raw.obb_file3_bad_packagename); in testMountBadPackageNameObb() local
168 final File file = createObbFile(OBB_FILE_1, R.raw.obb_file1); in testRemountObb() local
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DFileUpdater.java140 final String file = fileValues.keyAt(i); in writeFiles() local
212 final String file = writes.keyAt(i); in handleWriteOnHandler() local
235 private void removePendingWrite(String file) { in removePendingWrite()
263 private boolean ensureDefaultLoaded(String file) { in ensureDefaultLoaded()
288 String injectReadFromFileTrimmed(String file) throws IOException { in injectReadFromFileTrimmed()
293 void injectWriteToFile(String file, String value) throws IOException { in injectWriteToFile()
311 final AtomicFile file = new AtomicFile(injectDefaultValuesFilename()); in saveDefaultValuesLocked() local
341 final AtomicFile file = new AtomicFile(injectDefaultValuesFilename()); in loadDefaultValuesLocked() local
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DRandomAccessFileUtils.java30 private static RandomAccessFile getRandomAccessFile(File file) throws FileNotFoundException { in getRandomAccessFile()
35 public static void writeBoolean(File file, boolean b) { in writeBoolean()
44 public static boolean readBoolean(File file, boolean def) { in readBoolean()
/frameworks/av/drm/common/
DReadWriteUtils.cpp36 FILE* file = NULL; in readBytes() local
58 FILE* file = NULL; in readBytes() local
79 FILE* file = NULL; in writeToFile() local
96 FILE* file = NULL; in appendToFile() local
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java115 final File file = new File( in FileRotator() local
125 final File file = new File( in FileRotator() local
160 final File file = new File(mBasePath, name); in dumpAll() local
235 final File file = new File(mBasePath, name); in rewriteSingle() local
295 final File file = new File(mBasePath, name); in readMatching() local
354 final File file = new File(mBasePath, name); in maybeRotate() local
362 final File file = new File(mBasePath, name); in maybeRotate() local
368 private static void readFile(File file, Reader reader) throws IOException { in readFile()
378 private static void writeFile(File file, Writer writer) throws IOException { in writeFile()
/frameworks/base/tools/aapt2/java/
DProguardRules.h55 inline void AddManifestClass(const UsageLocation& file, const std::string& class_name) { in AddManifestClass()
59 inline void AddConditionalClass(const UsageLocation& file, in AddConditionalClass()
64 inline void AddMethod(const UsageLocation& file, const NameAndSignature& name_and_signature) { in AddMethod()
68 inline void AddReference(const UsageLocation& file, const ResourceName& resource_name) { in AddReference()
/frameworks/layoutlib/bridge/src/libcore/io/
DMemoryMappedFile_Delegate.java67 RandomAccessFile file = new RandomAccessFile(f, "r"); in mmapRO() local
94 static BufferIterator bigEndianIterator(MemoryMappedFile file) { in bigEndianIterator()
101 public MemoryMappedFile_Delegate(RandomAccessFile file) throws IOException { in MemoryMappedFile_Delegate()
113 private static MemoryMappedFile_Delegate getDelegate(MemoryMappedFile file) { in getDelegate()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java99 protected abstract String getDocIdForFile(File file) throws FileNotFoundException; in getDocIdForFile()
138 File file = getFileForDocId(documentId); in getDocumentMetadata() local
242 final File file = FileUtils.buildUniqueFile(parent, mimeType, displayName); in createDocument() local
261 MediaStore.scanFile(getContext(), file); in createDocument() local
327 final File file = getFileForDocId(docId); in deleteDocument() local
423 final File file = pending.removeFirst(); in querySearchDocuments() local
449 private String getDocumentType(final String documentId, final File file) in getDocumentType()
470 final File file = getFileForDocId(documentId); in openDocument() local
496 private boolean matchSearchQueryArguments(File file, Bundle queryArgs) { in matchSearchQueryArguments()
528 final File file = getFileForDocId(documentId); in openDocumentThumbnail() local
[all …]
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dmock_code_generator.cc86 const string& file, in ExpectGenerated()
130 const FileDescriptor* file, in Generate()
219 const FileDescriptor* file) { in GetOutputFileName()
224 const string& file) { in GetOutputFileName()
231 const FileDescriptor* file, in GetOutputFileContent()
245 const string& file, in GetOutputFileContent()
Dplugin.cc74 CodeGeneratorResponse::File* file = response_->add_file(); in Open() local
81 CodeGeneratorResponse::File* file = response_->add_file(); in OpenForInsert() local
101 const FileDescriptor* file = pool.BuildFile(request.proto_file(i)); in GenerateCode() local
135 const FileDescriptor* file = parsed_files[i]; in GenerateCode() local
/frameworks/opt/gamesdk/src/tuningfork/tools/validation/src/test/java/com/google/tuningfork/validation/
DExternalProtoCompilerTest.java70 File file = helper.getFile("compile_valid.proto"); in compileValid() local
82 File file = helper.getFile("compile_valid.proto"); in compareDescriptors() local
102 File file = helper.getFile("compile_invalid.proto"); in compileInvalid() local
113 File file = helper.getFile("compile_with_deps.proto"); in compileWithDeps() local
124 File file = helper.getFile("dev_tuningfork.proto"); in compileDevTuningfork() local
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/
Djava_name_resolver.cc55 const FileDescriptor* file) { in StripPackageName()
120 const FileDescriptor* file) { in GetFileDefaultImmutableClassName()
132 const FileDescriptor* file) { in GetFileImmutableClassName()
147 string ClassNameResolver::GetFileClassName(const FileDescriptor* file, in GetFileClassName()
159 const FileDescriptor* file, const string& classname) { in HasConflictingClassName()
194 const FileDescriptor* file, in GetClassFullName()
234 const FileDescriptor* file, in GetJavaClassFullName()
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
Dbenchmark.h55 static inline void Btrace(FILE* file, const char* name, in Btrace()
60 static inline void Btrace(FILE* file, const char* name) { in Btrace()
76 static inline void BtraceData(FILE* file, const char* name, in BtraceData()
82 static inline void BtraceData(FILE* file, const char* name, int64_t data) { in BtraceData()
/frameworks/wilhelm/src/
Dassert.cpp24 void __assert(const char *file, int line, const char *failedexpr) in __assert()
30 void __assert2(const char *file, int line, const char *func, const char *failedexpr) in __assert2()
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/
DHugeBackupActivity.java95 RandomAccessFile file; in populateUI() local
165 void writeDataToFileLocked(RandomAccessFile file, in writeDataToFileLocked()
188 RandomAccessFile file = new RandomAccessFile(mDataFile, "rw"); in recordNewUIState() local
/frameworks/base/tests/FlickerTests/lib/test/src/com/android/server/wm/flicker/monitor/
DScreenRecorderTest.java57 File file = DEFAULT_OUTPUT_PATH.toFile(); in videoIsRecorded() local
67 File file = getPath(TEST_VIDEO_FILENAME).toFile(); in videoCanBeSaved() local
/frameworks/base/core/tests/coretests/src/android/graphics/
DFontFileUtilTest.java50 final File file = new File(ctx.getCacheDir(), prefix + i); in getTempFile() local
63 File file = getTempFile(); in mmap() local
77 private static ByteBuffer mmap(File file) { in mmap()
86 private static boolean copyToFile(File file, InputStream is) { in copyToFile()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsHistoryTest.java142 private void verifyActiveFile(BatteryStatsHistory history, String file) { in verifyActiveFile()
158 private void verifyFileDeleted(String file) { in verifyFileDeleted()
163 final File file = history.getActiveFile().getBaseFile(); in createActiveFile() local
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DPackageDescriptor.cs44 private readonly FileDescriptor file; field in Google.Protobuf.Reflection.PackageDescriptor
46 internal PackageDescriptor(string name, string fullName, FileDescriptor file) in PackageDescriptor()

12345678910>>...17