/prebuilts/clang/host/darwin-x86/clang-4691093/include/llvm/Support/ |
FileUtilities.h | 37 /// If an exception is thrown from a region, the object removes the filename 41 SmallString<128> Filename; 46 explicit FileRemover(const Twine& filename, bool deleteIt = true) 48 filename.toVector(Filename); 54 sys::fs::remove(Filename); 61 void setFile(const Twine& filename, bool deleteIt = true) { 64 sys::fs::remove(Filename); 67 Filename.clear(); 68 filename.toVector(Filename) [all...] |
/prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/Support/ |
FileUtilities.h | 37 /// If an exception is thrown from a region, the object removes the filename 41 SmallString<128> Filename; 46 explicit FileRemover(const Twine& filename, bool deleteIt = true) 48 filename.toVector(Filename); 54 sys::fs::remove(Filename); 61 void setFile(const Twine& filename, bool deleteIt = true) { 64 sys::fs::remove(Filename); 67 Filename.clear(); 68 filename.toVector(Filename) [all...] |
/prebuilts/clang/host/linux-x86/clang-4393122/include/llvm/Support/ |
FileUtilities.h | 37 /// If an exception is thrown from a region, the object removes the filename 41 SmallString<128> Filename; 46 explicit FileRemover(const Twine& filename, bool deleteIt = true) 48 filename.toVector(Filename); 54 sys::fs::remove(Filename); 61 void setFile(const Twine& filename, bool deleteIt = true) { 64 sys::fs::remove(Filename); 67 Filename.clear(); 68 filename.toVector(Filename) [all...] |
/prebuilts/clang/host/linux-x86/clang-4479392/include/llvm/Support/ |
FileUtilities.h | 37 /// If an exception is thrown from a region, the object removes the filename 41 SmallString<128> Filename; 46 explicit FileRemover(const Twine& filename, bool deleteIt = true) 48 filename.toVector(Filename); 54 sys::fs::remove(Filename); 61 void setFile(const Twine& filename, bool deleteIt = true) { 64 sys::fs::remove(Filename); 67 Filename.clear(); 68 filename.toVector(Filename) [all...] |
/prebuilts/clang/host/linux-x86/clang-4579689/include/llvm/Support/ |
FileUtilities.h | 37 /// If an exception is thrown from a region, the object removes the filename 41 SmallString<128> Filename; 46 explicit FileRemover(const Twine& filename, bool deleteIt = true) 48 filename.toVector(Filename); 54 sys::fs::remove(Filename); 61 void setFile(const Twine& filename, bool deleteIt = true) { 64 sys::fs::remove(Filename); 67 Filename.clear(); 68 filename.toVector(Filename) [all...] |
/prebuilts/clang/host/linux-x86/clang-4630689/include/llvm/Support/ |
FileUtilities.h | 37 /// If an exception is thrown from a region, the object removes the filename 41 SmallString<128> Filename; 46 explicit FileRemover(const Twine& filename, bool deleteIt = true) 48 filename.toVector(Filename); 54 sys::fs::remove(Filename); 61 void setFile(const Twine& filename, bool deleteIt = true) { 64 sys::fs::remove(Filename); 67 Filename.clear(); 68 filename.toVector(Filename) [all...] |
/prebuilts/clang/host/linux-x86/clang-4639204/include/llvm/Support/ |
FileUtilities.h | 37 /// If an exception is thrown from a region, the object removes the filename 41 SmallString<128> Filename; 46 explicit FileRemover(const Twine& filename, bool deleteIt = true) 48 filename.toVector(Filename); 54 sys::fs::remove(Filename); 61 void setFile(const Twine& filename, bool deleteIt = true) { 64 sys::fs::remove(Filename); 67 Filename.clear(); 68 filename.toVector(Filename) [all...] |
/prebuilts/clang/host/linux-x86/clang-4691093/include/llvm/Support/ |
FileUtilities.h | 37 /// If an exception is thrown from a region, the object removes the filename 41 SmallString<128> Filename; 46 explicit FileRemover(const Twine& filename, bool deleteIt = true) 48 filename.toVector(Filename); 54 sys::fs::remove(Filename); 61 void setFile(const Twine& filename, bool deleteIt = true) { 64 sys::fs::remove(Filename); 67 Filename.clear(); 68 filename.toVector(Filename) [all...] |
/toolchain/binutils/binutils-2.27/gprof/ |
utils.c | 46 const char *filename; local 63 filename = self->file->name; 66 filename = strrchr (filename, '/'); 67 if (filename) 69 ++filename; 73 filename = self->file->name; 78 sprintf (buf, " (%s:%d @ %lx)", filename, self->line_num, 83 sprintf (buf, " (%s:%d)", filename, self->line_num);
|
/external/deqp/scripts/khr_util/ |
registry_cache.py | 37 def __init__(self, repository, filename, revision, checksum): 39 self.filename = filename 44 return hash((self.repository, self.filename, self.revision, self.checksum)) 47 return (self.repository, self.filename, self.revision, self.checksum) == (other.repository, other.filename, other.revision, other.checksum) 50 return os.path.basename(self.filename) 68 return self.filename 73 def makeSourceUrl (repository, revision, filename): 74 return "%s/%s/%s" % (repository, revision, filename) [all...] |
/external/curl/src/ |
tool_operhlp.c | 74 char *add_file_name_to_url(CURL *curl, char *url, const char *filename) 90 const char *filep = strrchr(filename, '/'); 91 char *file2 = strrchr(filep?filep:filename, '\\'); 99 filep = filename; 130 CURLcode get_url_file_name(char **filename, const char *url) 134 *filename = NULL; 155 *filename = strdup(pc); 156 if(!*filename) 162 SANITIZEcode sc = sanitize_file_name(&sanitized, *filename, 0); 163 Curl_safefree(*filename); [all...] |
/external/swiftshader/third_party/LLVM/runtime/libprofile/ |
GCDAProfiling.c | 68 char *filename = 0; local 75 filename = malloc(strlen(prefix) + 1 + strlen(orig_filename) + 1); 76 strcpy(filename, prefix); 77 strcat(filename, "/"); 78 strcat(filename, orig_filename); 80 return filename; 83 static void recursive_mkdir(const char *filename) { 87 for (i = 1, e = strlen(filename); i != e; ++i) { 88 if (filename[i] == '/') { 90 strncpy(pathname, filename, i) 111 char *filename; local [all...] |
/external/syslinux/com32/lib/syslinux/ |
initramfs_file.c | 54 char c_namesize[8]; /* Length of filename including final \0 */ 62 static size_t initramfs_mkdirs(const char *filename, void *buffer, 65 const char *p = filename; 72 if (p != filename && p[-1] != '/') { 73 len = p - filename; 80 p = filename; 82 if (p != filename && p[-1] != '/') { 83 len = p - filename; 88 memcpy(bp, filename, len); 105 int initramfs_mknod(struct initramfs *ihead, const char *filename, [all...] |
/external/ltp/testcases/kernel/syscalls/swapon/ |
swapon03.c | 48 static int check_and_swapoff(const char *filename); 59 char *filename; member in struct:swap_testfile_t 85 TEST(ltp_syscall(__NR_swapon, swap_testfiles[0].filename, 0)); 102 (__NR_swapon, swap_testfiles[1].filename, 0)); 112 (__NR_swapon, swap_testfiles[2].filename, 156 char filename[15]; local 205 /* prepare filename for the iteration */ 206 if (sprintf(filename, "swapfile%02d", j + 2) < 0) { 208 "filename"); 213 make_swapfile(cleanup, filename); 261 char filename[FILENAME_MAX]; local [all...] |
/development/testrunner/tests/ |
android_mk_tests.py | 31 filename='Android_native.mk') 37 filename='Android_gtestlib.mk') 42 mk_parser = android_mk.CreateAndroidMK(path='.', filename='Android_java.mk') 48 filename='Android_java.mk') 57 filename='Android_native.mk') 66 mk_parser = android_mk.CreateAndroidMK(path='.', filename='Android_java.mk') 73 filename='Android_native.mk') 80 filename='Android_native.mk')
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/compiler/ |
dumppyc.py | 30 def load(filename, codename=None):
31 co = loadCode(filename)
37 filename, codename = sys.argv[1:]
39 filename = sys.argv[1]
variable 41 if filename.endswith('.py'):
42 buf = open(filename).read()
43 co = compile(buf, filename, "exec")
46 load(filename, codename)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
ptags.py | 19 for filename in args:
20 treat_file(filename)
30 def treat_file(filename):
32 fp = open(filename, 'r')
34 sys.stderr.write('Cannot open %s\n' % filename)
36 base = os.path.basename(filename)
39 s = base + '\t' + filename + '\t' + '1\n'
49 s = name + '\t' + filename + '\t/^' + content + '/\n'
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Common/ |
LongFilePathOsPath.py | 26 def getsize(filename):
27 return os.path.getsize(LongFilePath(filename))
29 def getmtime(filename):
30 return os.path.getmtime(LongFilePath(filename))
32 def getatime(filename):
33 return os.path.getatime(LongFilePath(filename))
35 def getctime(filename):
36 return os.path.getctime(LongFilePath(filename))
|
/external/deqp/scripts/log/ |
log_to_csv.py | 26 def batchResultToCsv (filename): 28 results = parser.parseFile(filename)
|
/external/desugar/java/com/google/devtools/build/android/desugar/ |
InputFileProvider.java | 21 /** Input file provider allows to iterate on relative path filename of a directory or a jar file. */ 25 * Return a ZipEntry for {@code filename}. If the provider is a {@link ZipInputFileProvider}, the 29 ZipEntry getZipEntry(String filename); 32 * This method returns an input stream allowing to read the file {@code filename}, it is the 35 InputStream getInputStream(String filename) throws IOException;
|
OutputFileProvider.java | 21 /** Filename to use to write out dependency metadata for later consistency checking. */ 25 * Copy {@code filename} from {@code inputFileProvider} to this output. If input file provider is 28 void copyFrom(String filename, InputFileProvider inputFileProvider) throws IOException; 30 /** Write {@code content} in {@code filename} to this output */ 31 void write(String filename, byte[] content) throws IOException;
|
/external/expat/lib/ |
loadlibrary.c | 39 HMODULE _Expat_LoadLibrary(LPCTSTR filename); 73 * filename [in] - The filename or full path of the DLL to load. If only the 74 * filename is passed then the DLL will be loaded from the 79 HMODULE _Expat_LoadLibrary(LPCTSTR filename) 93 /* Detect if there's already a path in the filename and load the library if 97 if(_tcspbrk(filename, TEXT("\\/"))) { 100 pLoadLibraryEx(filename, NULL, LOAD_WITH_ALTERED_SEARCH_PATH) : 101 LoadLibrary(filename); 108 hModule = pLoadLibraryEx(filename, NULL, LOAD_LIBRARY_SEARCH_SYSTEM32) [all...] |
/external/libvncserver/test/ |
bmp.h | 35 int loadbmp(char *filename, unsigned char **buf, int *w, int *h, 40 * width, and height as a 24-bit Windows bitmap or PPM (the filename determines 44 int savebmp(char *filename, unsigned char *buf, int w, int h,
|
/external/libxml2/doc/examples/ |
reader3.c | 23 * @filename: the file name to parse 30 extractFile(const char *filename, const xmlChar *pattern) { 38 reader = xmlReaderForFile(filename, NULL, 0); 45 filename, (const char *) pattern); 55 fprintf(stderr, "%s : failed to parse\n", filename); 68 fprintf(stderr, "Unable to open %s\n", filename); 75 const char *filename = "test3.xml"; local 80 filename = argv[1]; 91 doc = extractFile(filename, (const xmlChar *) pattern);
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
common_sparse.h | 36 char *filename = "dirty_freeblocks"; local 41 fd = open(filename, O_CREAT|O_RDWR|O_EXCL, 0600); 44 tst_brkm(TBROK|TERRNO, cleanup, "failed to open '%s'", filename); 54 unlink(filename); 87 static void read_sparse(char *filename, int filesize) 93 fd = open(filename, O_RDONLY); 97 getpid(), filename); 103 getpid(), filename);
|