/external/jcommander/src/test/java/com/beust/jcommander/args/ |
ArgsConverter.java | 31 import java.nio.file.Path; 45 @Parameter(names = "-path", converter = PathConverter.class) 46 public Path path; field in class:ArgsConverter
|
/external/jetty/src/java/org/eclipse/jetty/servlets/ |
WelcomeFilter.java | 61 String path=((HttpServletRequest)request).getServletPath(); local 62 if (welcome!=null && path.endsWith("/")) 63 request.getRequestDispatcher(path+welcome).forward(request,response);
|
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/ |
ClassLoaderResourceLoader.java | 67 String path = basePath + '/' + name; local 68 InputStream stream = classLoader.getResourceAsStream(path);
|
/external/jsoncpp/ |
amalgamate.py | 9 import os.path namespace 30 f = open( os.path.join( self.top_dir, relative_input_path ), "rt" ) 43 output_dir = os.path.dirname( output_path ) 44 if output_dir and not os.path.isdir( output_dir ): 56 target_source_path: output .cpp path 57 header_include_path: generated header path relative to target_source_path. 79 target_header_path = os.path.join( os.path.dirname(target_source_path), header_include_path ) 83 base, ext = os.path.splitext( header_include_path ) 100 target_forward_header_path = os.path.join( os.path.dirname(target_source_path) [all...] |
doxybuild.py | 7 import os.path namespace 14 @return: the full path of the filename if found, or '' if filename could not be found 16 paths = os.environ.get('PATH', '').split(os.pathsep) 21 full_path = os.path.join(directory, name) 22 if os.path.isfile(full_path): 50 config_file = os.path.abspath( config_file ) 88 if not os.path.isdir( output_dir ): 90 top_dir = os.path.abspath( '.' ) 92 tarball_path = os.path.join( 'dist', html_output_dirname + '.tar.gz' ) 93 warning_log_path = os.path.join( output_dir, '../jsoncpp-doxygen-warning.log' [all...] |
/external/jsoncpp/devtools/ |
licenseupdater.py | 16 def update_license( path, dry_run, show_diff ): 19 path: path of the C++ source file to update. 20 dry_run: if True, just print the path of the file that would be updated, 22 show_diff: if True, print the path of the file that would be modified, 25 with open( path, 'rt' ) as fin: 36 with open( path, 'wb' ) as fout: 38 print('Updated', path) 51 dry_run: if True, just print the path of the file that would be updated, 53 show_diff: if True, print the path of the file that would be modified 91 import os.path namespace [all...] |
/external/jsoncpp/test/ |
runjsontests.py | 4 import os.path namespace 35 def safeReadFile( path ): 37 return file( path, 'rt' ).read() 39 return '<File "%s" is missing: %s>' % (path,e) 44 input_dir = os.path.join( os.getcwd(), 'data' ) 45 tests = glob( os.path.join( input_dir, '*.json' ) ) 47 test_jsonchecker = glob( os.path.join( input_dir, '../jsonchecker', '*.json' ) ) 53 expect_failure = os.path.basename( input_path ).startswith( 'fail' ) 77 base_path = os.path.splitext(input_path)[0] 85 expected_output_path = os.path.splitext(input_path)[0] + '.expected [all...] |
rununittests.py | 5 import os.path namespace 13 self.test_exe_path = os.path.normpath( os.path.abspath( test_exe_path ) ) 59 parser = OptionParser( usage="%prog [options] <path to test_lib_json.exe>" ) 67 parser.error( 'Must provides at least path to test_lib_json executable.' )
|
/external/libchrome/base/debug/ |
proc_maps_linux.h | 18 // Describes a region of mapped memory and the path of the file mapped. 31 // Byte offset into |path| of the range mapped into memory. 39 // NOTE: path names aren't guaranteed to point at valid files. For example, 42 std::string path; member in struct:base::debug::MappedMemoryRegion
|
/external/libchrome/base/ |
file_version_info_unittest.cc | 25 FilePath path; local 26 PathService::Get(base::DIR_SOURCE_ROOT, &path); 27 path = path.AppendASCII("base"); 28 path = path.AppendASCII("test"); 29 path = path.AppendASCII("data"); 30 path = path.AppendASCII("file_version_info_unittest") [all...] |
/external/libchrome/base/files/ |
important_file_writer.h | 55 // Save |data| to |path| in an atomic manner (see the class comment above). 57 static bool WriteFileAtomically(const FilePath& path, 61 // |path| is the name of file to write. 65 ImportantFileWriter(const FilePath& path, 69 ImportantFileWriter(const FilePath& path, 77 const FilePath& path() const { return path_; } function in class:base::ImportantFileWriter 118 // Path being written to.
|
/external/libchrome/sandbox/linux/services/ |
namespace_utils.cc | 71 const char* path; local 76 path = "/proc/self/ns/ipc"; 79 path = "/proc/self/ns/net"; 82 path = "/proc/self/ns/mnt"; 85 path = "/proc/self/ns/pid"; 88 path = "/proc/self/ns/uts"; 95 return base::PathExists(base::FilePath(path));
|
/external/libdrm/libkms/ |
linux.c | 56 char path[PATH_SIZE+1] = ""; /* initialize to please valgrind */ local 65 * to the directory representing the driver module, that path 85 snprintf(path, PATH_SIZE, "/sys/dev/char/%d:%d/device/driver", maj, min); 87 if (readlink(path, link, PATH_SIZE) < 0)
|
/external/libmtp/examples/ |
thumb.c | 51 char *path = NULL; local 77 path = argv[0]; 79 if ( stat(path, &statbuff) == -1 ) { 80 fprintf(stderr, "%s: ", path); 88 if ( (fd = open(path, O_RDONLY|O_BINARY) == -1) ) { 90 if ( (fd = open(path, O_RDONLY)) == -1) { 92 printf("Couldn't open image file %s (%s)\n",path,strerror(errno));
|
/external/libselinux/src/ |
procattr.c | 21 char *path; local 25 rc = asprintf(&path, "/proc/%d/attr/%s", pid, attr); 27 rc = asprintf(&path, "/proc/thread-self/attr/%s", attr); 30 fd = open(path, flags | O_CLOEXEC); 33 free(path); 35 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr); 43 fd = open(path, flags | O_CLOEXEC); 45 free(path);
|
/external/libunwind/include/ |
map_info.h | 44 char *path; member in struct:map_info
|
/external/libunwind/src/coredump/ |
_UPT_get_dyn_info_list_addr.c | 40 char path[PATH_MAX]; local 53 if (elf_map_image (&ui->ei, path) < 0) 57 Debug (16, "checking object %s\n", path); 59 di = tdep_find_unwind_table (&ui->edi, as, path, lo, off);
|
/external/libunwind/src/ptrace/ |
_UPT_get_dyn_info_list_addr.c | 39 char path[PATH_MAX]; local 51 Debug (16, "checking object %s\n", path); 53 if (tdep_find_unwind_table (&ui->edi, as, path, lo, off, 0) > 0)
|
/external/libxml2/include/libxml/ |
uri.h | 40 char *path; /* the path string */ member in struct:_xmlURI 81 xmlNormalizeURIPath (char *path); 87 xmlCanonicPath (const xmlChar *path); 89 xmlPathToURI (const xmlChar *path);
|
/external/llvm/include/llvm/Support/ |
Path.h | 1 //===- llvm/Support/Path.h - Path Operating System Concept ------*- C++ -*-===// 10 // This file declares the llvm::sys::path namespace. It is designed after 12 // path class. 26 namespace path { namespace in namespace:llvm::sys 31 /// @brief Path iterator. 34 /// \a path. The traversal order is as follows: 52 StringRef Path; ///< The entire path. 53 StringRef Component; ///< The current component. Not necessarily in Path [all...] |
/external/llvm/utils/ |
wciia.py | 12 utils/wciia.py path 38 for path in paths.split(): 39 owner['paths'].append(path) 79 for path in owner['paths']: 80 # print "searching (" + path + ")" 82 if fpath == path: 84 # see if path ends with a * 85 rstar = path.rfind('*') 89 if len(fpath) < len(path): 90 rpos = path.find(fpath 104 path = str(sys.argv[1]) variable [all...] |
/external/lzma/CPP/7zip/Common/ |
FilePathAutoRename.cpp | 15 const FString &extension, unsigned value, FString &path)
19 path = name;
20 path += number;
21 path += extension;
22 return NFile::NFind::DoesFileOrDirExist(path);
27 FString path;
local 49 if (MakeAutoName(name, extension, mid, path))
|
/external/mesa3d/scons/ |
llvm.py | 31 import os.path namespace 49 if not os.path.isdir(llvm_dir): 57 llvm_bin_dir = os.path.join(llvm_dir, llvm_subdir, 'bin') 58 if not os.path.isdir(llvm_bin_dir): 59 llvm_bin_dir = os.path.join(llvm_dir, 'bin') 60 if not os.path.isdir(llvm_bin_dir): 63 env.PrependENVPath('PATH', llvm_bin_dir) 72 llvm_config = os.path.join(llvm_dir, 'include/llvm/Config/config.h') 73 if not os.path.exists(llvm_config): 88 env.Prepend(CPPPATH = [os.path.join(llvm_dir, 'include')] [all...] |
/external/mesa3d/src/gallium/auxiliary/pipe-loader/ |
pipe_loader.c | 77 char path[PATH_MAX]; local 85 ret = util_snprintf(path, sizeof(path), "%.*s/%s%s%s", 89 ret = util_snprintf(path, sizeof(path), "%s%s%s", 92 if (ret > 0 && ret < sizeof(path)) { 93 lib = util_dl_open(path); 95 debug_printf("loaded %s\n", path);
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_tile_soa.py | 41 import os.path namespace 43 sys.path.insert(0, os.path.join(os.path.dirname(sys.argv[0]), '../../auxiliary/util'))
|