/external/sepolicy/ |
shell.te | 17 allow shell pstorefs:file r_file_perms; 20 allow shell misc_logd_file:file r_file_perms; 24 allow shell anr_data_file:file r_file_perms; 28 allow shell shell_data_file:file create_file_perms; 29 allow shell shell_data_file:file rx_file_perms; 40 allow shell system_file:file x_file_perms; 41 allow shell shell_exec:file rx_file_perms; 42 allow shell zygote_exec:file rx_file_perms; 55 # Directory read access and file write access is already granted 57 allow shell debugfs:file r_file_perms [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/ |
DelegateFileFilter.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 19 import java.io.File; 36 /** The File filter */ 40 * Constructs a delegate file filter around an existing FilenameFilter. 53 * Constructs a delegate file filter around an existing FileFilter. 68 * @param file the file to check 71 public boolean accept(File file) [all...] |
/dalvik/dx/tests/131-perf/ |
ClassGen.java | 1 import java.io.File; 25 for (int file = start; file <= end; file++) { 27 File f = new File("src/Clazz" + file + ".java"); 29 pw.println("class Clazz" + file + " {"); 34 pw.println(" boolean m" + method + "_" + (file%(end/2)) + "() {" 39 + file + ".class + \".method" + metho [all...] |
/device/moto/shamu/sepolicy/ |
mdm_helper.te | 11 allow mdm_helper mdm_helper_exec:file rx_file_perms; 28 allow mdm_helper firmware_file:file r_file_perms; 31 allow mdm_helper fsg_file:file r_file_perms; 35 allow mdm_helper persist_modem_file:file create_file_perms; 38 allow mdm_helper shell_exec:file rx_file_perms; 40 allow mdm_helper system_file:file x_file_perms; 43 allow mdm_helper sysfs_xhci_msm_hsic:file rw_file_perms; 44 allow mdm_helper sysfs_msm_hsic_host:file write; 47 allow mdm_helper sysfs:file write; 56 allow mdm_helper ram_dump_logs:file create_file_perms [all...] |
/external/clang/test/CoverageMapping/ |
switchmacro.c | 1 // RUN: %clang_cc1 -fprofile-instr-generate -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name switchmacro.c %s | FileCheck %s 6 int foo(int i) { // CHECK-NEXT: File 0, [[@LINE]]:16 -> {{[0-9]+}}:2 = #0 8 default: // CHECK-NEXT: File 0, [[@LINE]]:3 -> {{[0-9]+}}:11 = #2 9 if (i == 1) // CHECK-NEXT: File 0, [[@LINE]]:9 -> [[@LINE]]:15 = #2 10 return 0; // CHECK-NEXT: File 0, [[@LINE]]:7 -> [[@LINE]]:15 = #3 11 // CHECK-NEXT: Expansion,File 0, [[@LINE+2]]:5 -> [[@LINE+2]]:8 = (#2 - #3) 12 // CHECK-NEXT: File 0, [[@LINE+1]]:8 -> {{[0-9]+}}:11 = (#2 - #3) 14 case 0: // CHECK-NEXT: File 0, [[@LINE]]:3 -> [[@LINE+1]]:13 = ((#2 + #4) - #3) 17 // CHECK-NEXT: Expansion,File 0, [[@LINE+2]]:3 -> [[@LINE+2]]:6 = 0 18 // CHECK-NEXT: File 0, [[@LINE+1]]:6 -> {{[0-9]+}}:11 = [all...] |
test.c | 1 // RUN: %clang_cc1 -fprofile-instr-generate -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name test.c %s | FileCheck %s 7 int main() { // CHECK-NEXT: File 0, [[@LINE]]:12 -> [[@LINE+7]]:2 = #0 8 // CHECK-NEXT: File 0, [[@LINE+1]]:18 -> [[@LINE+1]]:24 = (#0 + #1) 9 for(int i = 0; i < 10; ++i) { // CHECK-NEXT: File 0, [[@LINE]]:26 -> [[@LINE]]:29 = #1 10 bar(); // CHECK-NEXT: File 0, [[@LINE-1]]:31 -> [[@LINE+1]]:4 = #1 17 void foo() { // CHECK-NEXT: File 0, [[@LINE]]:12 -> [[@LINE+5]]:2 = #0 18 // CHECK-NEXT: File 0, [[@LINE+1]]:6 -> [[@LINE+1]]:7 = #0 19 if(1) { // CHECK-NEXT: File 0, [[@LINE]]:9 -> [[@LINE+2]]:4 = #1 25 void bar() { // CHECK-NEXT: File 0, [[@LINE]]:12 -> [[@LINE+1]]:2 = #0 29 void static_func() { } // CHECK: File 0, [[@LINE]]:20 -> [[@LINE]]:23 = # [all...] |
return.c | 1 // RUN: %clang_cc1 -fprofile-instr-generate -fcoverage-mapping -dump-coverage-mapping -emit-llvm-only -main-file-name return.c %s | FileCheck %s 4 void func() { // CHECK: File 0, [[@LINE]]:13 -> [[@LINE+3]]:2 = #0 6 int i = 0; // CHECK-NEXT: File 0, [[@LINE]]:3 -> [[@LINE+1]]:2 = 0 10 void func2() { // CHECK-NEXT: File 0, [[@LINE]]:14 -> {{[0-9]+}}:2 = #0 11 // CHECK-NEXT: File 0, [[@LINE+2]]:18 -> [[@LINE+2]]:24 = ((#0 + #1) - #2) 12 // CHECK-NEXT: File 0, [[@LINE+1]]:26 -> [[@LINE+1]]:29 = (#1 - #2) 13 for(int i = 0; i < 10; ++i) { // CHECK-NEXT: File 0, [[@LINE]]:31 -> {{[0-9]+}}:4 = #1 14 // CHECK-NEXT: File 0, [[@LINE+1]]:8 -> [[@LINE+1]]:13 = #1 15 if(i > 2) { // CHECK-NEXT: File 0, [[@LINE]]:15 -> [[@LINE+2]]:6 = #2 17 } // CHECK-NEXT: File 0, [[@LINE+2]]:5 -> {{[0-9]+}}:4 = (#1 - #2 [all...] |
/external/elfutils/src/tests/ |
debuglink.c | 3 This file is part of elfutils. 5 This file is free software; you can redistribute it and/or modify 36 error (EXIT_FAILURE, 0, "No input file given"); 42 const char *file = argv[i]; local 43 int fd = open (file, O_RDONLY); 45 error (EXIT_FAILURE, errno, "couldn't open file '%s'", file); 50 file, elf_errmsg (-1)); 55 printf ("%s: <no gnu_debuglink file>\n", file); [all...] |
/external/libvpx/libvpx/test/ |
webm_video_source.h | 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. 24 // so that we can do actual file decodes. 38 if (vpx_ctx_->file != NULL) 39 fclose(vpx_ctx_->file); 49 vpx_ctx_->file = OpenTestDataFile(file_name_); 50 ASSERT_TRUE(vpx_ctx_->file != NULL) << "Input file open failed. Filename: " 53 ASSERT_EQ(file_is_webm(webm_ctx_, vpx_ctx_), 1) << "file is not WebM" [all...] |
/external/proguard/src/proguard/io/ |
DirectoryPump.java | 27 * This class can read a given file or directory, recursively, applying a given 34 private final File directory; 37 public DirectoryPump(File directory) 50 throw new IOException("No such file or directory"); 61 private void readFiles(File file, DataEntryReader dataEntryReader) 64 // Pass the file data entry to the reader. 65 dataEntryReader.read(new FileDataEntry(directory, file)); 67 if (file.isDirectory()) 70 File[] files = file.listFiles() [all...] |
/external/sepolicy/tools/ |
checkfc.c | 22 fprintf(stderr, "Parses a context file and checks for syntax errors.\n"); 23 fprintf(stderr, "The context_file is assumed to be a file_contexts file\n"); 26 fprintf(stderr, " -p : context file represents a property_context file.\n"); 41 FILE *fp; 59 fprintf(stderr, "Expected sepolicy file and context file as arguments.\n"); 63 // remaining args are sepolicy file and context file 84 fprintf(stderr, "Error loading context file from %s\n", contextFile) [all...] |
/external/webrtc/test/testsupport/ |
frame_writer.h | 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. 27 // Initializes the file handler, i.e. opens the input and output files etc. 32 // Writes a frame of the configured frame length to the output file. 36 // Closes the output file if open. Essentially makes this class impossible 46 // Creates a file handler. The input file is assumed to exist and be readable 47 // and the output file must be writable. 49 // output_filename The file to write. Will be overwritten if alread [all...] |
/frameworks/data-binding/gradlePlugin/src/main/java/android/databinding/tool/ |
DataBindingExportInfoTask.java | 5 * you may not use this file except in compliance with the License. 23 import java.io.File; 30 private File sdkDir; 31 private File xmlOutFolder; 32 private File exportClassListTo; 50 public File getSdkDir() { 54 public void setSdkDir(File sdkDir) { 58 public File getXmlOutFolder() { 62 public void setXmlOutFolder(File xmlOutFolder) { 66 public File getExportClassListTo() [all...] |
/external/libxml2/doc/examples/ |
examples.xml | 5 <usage>xpath1 <xml-file> <xpath-expr> [<known-ns-list>]</usage> 17 <enum line='229' file='tree' name='XML_ELEMENT_NODE'/> 18 <typedef line='88' file='xpath' name='xmlXPathObjectPtr'/> 19 <function line='54' file='xmlmemory' name='xmlMemoryDump'/> 20 <function line='117' file='xpath' name='xmlXPathEvalExpression'/> 21 <function line='94' file='parser' name='xmlParseFile'/> 22 <function line='186' file='xpathInternals' name='xmlXPathRegisterNs'/> 23 <function line='129' file='xpath' name='xmlXPathFreeObject'/> 24 <variable line='193' file='globals' name='xmlFree'/> 25 <typedef line='218' file='tree' name='xmlNsPtr'/ [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
PhotoStore.java | 5 * use this file except in compliance with the License. You may obtain a copy of 28 import java.io.File; 55 /** The file path for photo storage. */ 56 private final File mStorePath; 69 public PhotoStore(File rootDirectory, ContactsDatabaseHelper databaseHelper) { 70 mStorePath = new File(rootDirectory, DIRECTORY); 88 File[] files = mStorePath.listFiles(); 90 for (File file : files) { 91 cleanupFile(file); 194 File file = null; local [all...] |
/external/vogar/src/vogar/ |
ClassFileIndex.java | 5 * you may not use this file except in compliance with the License. 21 import java.io.File; 78 private final File classFileIndexFile = 79 new File(System.getProperty("user.home"), ".vogar/classfileindex"); 80 private final Map<String, Set<File>> classFileMap = new HashMap<String, Set<File>>(); 81 private final List<File> jarSearchDirs; 83 public ClassFileIndex(Log log, Mkdir mkdir, List<File> jarSearchDirs) { 89 public Set<File> suggestClasspaths(String testOutput) { 90 Set<File> suggestedClasspaths = new HashSet<File>() [all...] |
/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
FileCleaner.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 19 import java.io.File; 25 * This utility creates a background thread to handle file deletion. 26 * Each file to be deleted is registered with a handler object. 27 * When the handler object is garbage collected, the file is deleted. 49 * Track the specified file, using the provided marker, deleting the file 53 * @param file the file to be tracked, not nul [all...] |
FileUtils.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 21 import java.io.File; 48 * General file manipulation utilities. 52 * <li>writing to a file 53 * <li>reading from a file 59 * <li>comparing file content 60 * <li>file last changed date 108 * An empty array of type <code>File</code> 1046 File file = files[i]; local 1456 File file = files[i]; local 1523 File file = files[i]; local [all...] |
/external/google-breakpad/src/client/linux/minidump_writer/ |
cpu_set_unittest.cc | 47 // Helper class to write test text file to a temporary file and return 48 // its file descriptor. 64 ScopedTestFile file("10"); 65 ASSERT_TRUE(file.IsOk()); 68 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); 73 ScopedTestFile file("10\n"); 74 ASSERT_TRUE(file.IsOk()); 77 ASSERT_TRUE(set.ParseSysFile(file.GetFd())); 82 ScopedTestFile file("1,10") [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_dump.h | 29 * @file 90 * p_state.h, through a FILE 94 util_dump_template(FILE *stream, 98 util_dump_rasterizer_state(FILE *stream, 102 util_dump_poly_stipple(FILE *stream, 106 util_dump_viewport_state(FILE *stream, 110 util_dump_scissor_state(FILE *stream, 114 util_dump_clip_state(FILE *stream, 118 util_dump_shader_state(FILE *stream, 122 util_dump_depth_stencil_alpha_state(FILE *stream [all...] |
/external/skia/src/ports/ |
SkOSFile_stdio.cpp | 5 * found in the LICENSE file. 39 return ::fgets(str, size, (FILE *)f); 44 return feof((FILE *)f); 50 long curr = ::ftell((FILE*)f); // remember where we are 55 ::fseek((FILE*)f, 0, SEEK_END); // go to the end 56 long size = ::ftell((FILE*)f); // record the size 61 ::fseek((FILE*)f, curr, SEEK_SET); // go back to our prev location 67 ::rewind((FILE*)f); 74 size_t curr = ::ftell((FILE*)f); 76 SkDEBUGF(("sk_fread: ftell(%p) returned -1 feof:%d ferror:%d\n", f, feof((FILE*)f), ferror((FILE*)f))) [all...] |
/external/toybox/tests/ |
cp.test | 5 # Create test file 14 testing "cp file->file" "cp random two && cmp random two && echo yes" \ 19 testing "cp file->dir" "cp random two && cmp random two/random && echo yes" \ 22 testing "cp file->dir/file" \ 29 testing "cp -r dir->file [fail]" \ 32 testing "cp -r dir hits file." \ 38 testing "cp file->inaccessable [fail]" \ 44 testing "cp -f file->inaccessable" [all...] |
/libcore/luni/src/main/java/libcore/net/url/ |
JarHandler.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 28 * Returns a connection to the jar file pointed by this <code>URL</code> 29 * in the file system 58 String file = url.getFile(); local 59 if (file == null) { 60 file = ""; 67 if (spec.indexOf("!/") == -1 && (file.indexOf("!/") == -1)) { 70 if (file.isEmpty()) [all...] |
/development/tools/rmtypedefs/src/com/android/tools/rmtypedefs/ |
RmTypeDefs.java | 5 * you may not use this file except in compliance with the License. 28 import java.io.File; 58 private List<File> mAnnotationClassFiles = Lists.newArrayList(); 59 private Set<File> mAnnotationOuterClassFiles = Sets.newHashSet(); 71 List<File> dirs = new ArrayList<File>(); 88 // Other arguments should be file names 89 File file = new File(arg) local [all...] |
/external/lzma/C/Util/Lzma/ |
LzmaUtil.dsp | 1 # Microsoft Developer Studio Project File - Name="LzmaUtil" - Package Owner=<4>
2 # Microsoft Developer Studio Generated Build File, Format Version 6.00
87 # Begin Source File
90 # End Source File
91 # Begin Source File
94 # End Source File
95 # Begin Source File
98 # End Source File
99 # Begin Source File
102 # End Source File
[all...] |