/external/autotest/client/profilers/powertop/src/ |
xrandr.c | 4 * This file is part of PowerTOP 6 * This program file is free software; you can redistribute it and/or modify it 16 * along with this program in a file named COPYING; if not, write to the 45 FILE *file; local 54 file = popen("xrandr 2> /dev/null", "r"); 55 if (!file || feof(file)) { 59 while (!feof(file)) { 60 if (fgets(line, 1024, file)==NULL [all...] |
/external/droiddriver/src/io/appium/droiddriver/util/ |
FileUtils.java | 5 * you may not use this file except in compliance with the License. 24 import java.io.File; 35 * Opens file at {@code path} to output. If any directories on {@code path} do 36 * not exist, they will be created. The file will be readable and writable to 41 File file = getAbsoluteFile(path); local 43 Logs.log(Log.INFO, "opening file " + file.getAbsolutePath()); 44 BufferedOutputStream stream = new BufferedOutputStream(new FileOutputStream(file)); 46 file.setReadable(true /* readable */, false/* ownerOnly */) 60 File file = new File(path); local [all...] |
/external/elfutils/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/glide/library/src/main/java/com/bumptech/glide/load/resource/file/ |
FileResource.java | 1 package com.bumptech.glide.load.resource.file; 5 import java.io.File; 8 * A simple {@link com.bumptech.glide.load.engine.Resource} that wraps a {@link File}. 10 public class FileResource extends SimpleResource<File> { 11 public FileResource(File file) { 12 super(file);
|
/external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/ |
AgentTaskTest.java | 14 import java.io.File; 26 final File file = new File("src/org/jacoco/ant/AgentTaskTest.xml"); local 27 return new AntUnitSuite(file, AgentTaskTest.class);
|
CoverageTaskTest.java | 14 import java.io.File; 28 final File file = new File("src/org/jacoco/ant/CoverageTaskTest.xml"); local 29 return new AntUnitSuite(file, CoverageTaskTest.class);
|
DumpTaskTest.java | 14 import java.io.File; 26 final File file = new File("src/org/jacoco/ant/DumpTaskTest.xml"); local 27 return new AntUnitSuite(file, DumpTaskTest.class);
|
DumpTaskWithServerTest.java | 14 import java.io.File; 28 final File file = new File( local 30 return new AntUnitSuite(file, DumpTaskWithServerTest.class);
|
InstrumentTaskTest.java | 14 import java.io.File; 30 System.setProperty("org.jacoco.ant.instrumentTaskTest.agent.file", 32 final File file = new File("src/org/jacoco/ant/InstrumentTaskTest.xml"); local 33 return new AntUnitSuite(file, InstrumentTaskTest.class);
|
MergeTaskTest.java | 14 import java.io.File; 26 final File file = new File("src/org/jacoco/ant/MergeTaskTest.xml"); local 27 return new AntUnitSuite(file, MergeTaskTest.class);
|
ReportTaskTest.java | 14 import java.io.File; 29 new File("./src").getAbsolutePath()); 30 final File file = new File("src/org/jacoco/ant/ReportTaskTest.xml"); local 31 return new AntUnitSuite(file, ReportTaskTest.class);
|
/external/jcommander/src/test/java/com/beust/jcommander/args/ |
SlashSeparator.java | 3 * See the notice.md file distributed with this work for additional 7 * you may not use this file except in compliance with the License. 30 @Parameter(names = "/file") 31 public String file; field in class:SlashSeparator
|
/external/libmtp/examples/ |
getfile.c | 2 * \file getfile.c 3 * Example program to retrieve a file off the device. 46 printf("\nError getting file from MTP device.\n"); 60 char *file; local 63 // We need file ID and filename 75 fprintf(stderr, "bad file/track id %u\n", id); 80 file = argv[2]; 81 printf("Getting file/track %d to local file %s\n", id, file); [all...] |
/external/libvpx/libvpx/ |
vpxstats.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. 28 FILE *file; member in struct:__anon26301
|
/external/ltp/testcases/kernel/security/integrity/ima/src/ |
ima_mmap.c | 12 * File: ima_mmap.c 14 * Open and mmap a file and sleep. Another process will open the 15 * mmapped file in read mode, resulting in a open_writer violation. 31 void *file; local 44 file = mmap(NULL, 1024, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); 45 if (file == (void *)-1) { 51 if (munmap(file, 1024) < 0) {
|
/external/perfetto/infra/git_mirror_bot/ |
Makefile | 4 # you may not use this file except in compliance with the License. 46 --metadata-from-file=startup-script=startup-script.sh,deploy_key=deploy_key,main=mirror_aosp_to_ghub_repo.py
|
/external/syslinux/core/fs/ |
readdir.c | 14 struct file *file; local 20 file = handle_to_file(rv); 22 if (file->inode->mode != DT_DIR) { 23 _close_file(file); 27 return (DIR *)file; 36 struct file *dd_dir = (struct file *)dir; 53 struct file *dd_dir = (struct file *)dir [all...] |
/external/tensorflow/tensorflow/core/lib/io/ |
random_inputstream_test.cc | 4 you may not use this file except in compliance with the License. 31 std::unique_ptr<RandomAccessFile> file; local 32 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); 34 RandomAccessInputStream in(file.get()); 60 std::unique_ptr<RandomAccessFile> file; local 61 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); 63 RandomAccessInputStream in(file.get()); 79 // Making sure that if we read after we've skipped beyond end of file, we get 91 std::unique_ptr<RandomAccessFile> file; local 92 TF_ASSERT_OK(env->NewRandomAccessFile(fname, &file)); [all...] |
/external/toybox/toys/other/ |
chcon.c | 1 /* chcon.c - Change file security context 12 usage: chcon [-hRv] CONTEXT FILE... 14 Change the SELinux security context of listed file[s]. 41 char **file; local 43 for (file = toys.optargs+1; *file; file++) dirtree_read(*file, do_chcon);
|
/external/toybox/toys/posix/ |
chmod.c | 1 /* chmod.c - Change file mode bits 13 usage: chmod [-R] MODE FILE... 15 Change mode of listed file[s] (recursively with -R). 23 suid/sgid: execute as the user/group who owns the file. 31 chmod u+w file - allow owner of "file" to write to it. 32 chmod 744 file - user can read/write/execute, everyone else read only 62 char **file; local 64 for (file = toys.optargs+1; *file; file++) dirtree_read(*file, do_chmod) [all...] |
comm.c | 44 int file[2]; local 51 file[i] = xopenro(toys.optargs[i]); 52 line[i] = get_line(file[i]); 62 line[i] = get_line(file[i]); 68 line[i] = get_line(file[i]); 72 /* print rest of the longer file */ 76 line[i] = get_line(file[i]); 79 if (CFG_TOYBOX_FREE) for (i = 0; i < 2; i++) xclose(file[i]);
|
/external/valgrind/none/tests/ |
mmap_fcntl_bug.c | 3 * mmap. Feed it a r/w file, such as its own source code. */ 19 const char *file = /* argv[1]; */ local 24 if (!file) 25 errx(1, "Usage: %s <normal-file>", argv[0]); 27 fd = open(file, O_RDWR); 29 err(1, "Opening %s", file); 45 err(1, "Locking %s", file); 47 /* If under valgrind, mmap re-opens and closes file, screwing us */ 49 err(1, "mmap of %s", file);
|
/external/vogar/src/vogar/tasks/ |
RmTask.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 25 private final File file; field in class:RmTask 27 public RmTask(Rm rm, File file) { 28 super("rm " + file); 30 this.file = file; 34 rm.file(file) [all...] |
/frameworks/support/leanback/src/androidTest/ |
generatev4.py | 6 # you may not use this file except in compliance with the License. 34 file = open('java/android/support/v17/leanback/app/{}SupportFragment.java'.format(w), 'r') variable 38 outfile.write("/* This file is auto-generated from {}SupportFragment.java. DO NOT MODIFY. */\n\n".format(w)) 40 for line in file: 47 file.close() 57 file = open('java/android/support/v17/leanback/app/{}SupportFragmentTestBase.java'.format(w), 'r') variable 61 outfile.write("/* This file is auto-generated from {}SupportFrgamentTestBase.java. DO NOT MODIFY. */\n\n".format(w)) 63 for line in file: 73 file.close() 83 file = open('java/android/support/v17/leanback/app/{}SupportFragmentTest.java'.format(w), 'r' variable 114 file = open('java\/android\/support\/v17\/leanback\/app\/{}SupportFragmentTestActivity.java'.format(w), 'r') variable 132 file = open('java\/android\/support\/v17\/leanback\/widget\/ParallaxIntEffectTest.java', 'r') variable 152 file = open('java\/android\/support\/v17\/leanback\/widget\/ParallaxIntTest.java', 'r') variable [all...] |
/libcore/ojluni/src/main/java/com/sun/nio/file/ |
ExtendedCopyOption.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.CopyOption;
|