/external/eigen/scripts/ |
H A D | relicense.py | 55 print 'SKIPPED', filename 57 filename = os.path.join(root, basename) 58 fo = file(filename) 64 fo = file(filename, "w") 67 print 'UPDATED', filename 69 print ' ', filename
|
/external/chromium_org/android_webview/native/ |
H A D | aw_media_url_interceptor.cc | 23 std::string filename(url); 24 ReplaceFirstSubstringAfterOffset(&filename, 0, asset_file_prefix, ""); 25 return AwAssets::OpenAsset(filename, fd, offset, size);
|
/external/chromium_org/mojo/tools/pylib/ |
H A D | transitive_hash.py | 26 def _file_hash(filename): 28 _logging.debug("Hashing %s ...", filename) 29 rv = subprocess.check_output(['sha256sum', '-b', filename]).split(None, 1)[0] 34 def _get_dependencies(filename): 36 _logging.debug("Getting dependencies for %s ...", filename) 37 lines = subprocess.check_output(['ldd', filename]).splitlines() 48 def transitive_hash(filename): 53 to_hash = [filename] 80 for filename in argv[1:]: 82 print transitive_hash(filename), filenam [all...] |
/external/chromium_org/tools/grit/grit/format/ |
H A D | resource_map.py | 27 if our header filename is theme_resources.h, we name our resource map 37 raise Exception('unable to find resource header filename') 38 filename = os.path.splitext(os.path.split(rc_header_file)[1])[0] 39 filename = filename[0].upper() + filename[1:] 40 while filename.find('_') != -1: 41 pos = filename.find('_') 42 if pos >= len(filename): 44 filename [all...] |
/external/skia/tests/ |
H A D | OSPathTest.cpp | 14 * Will use SkPathJoin to append filename to dir, test that it works correctly, 19 * @param filename String representing the basename of a file. Must NOT 23 SkString filename) { 24 // If filename contains SkPATH_SEPARATOR, the tests will fail. 25 SkASSERT(!filename.contains(SkPATH_SEPARATOR)); 30 SkString fullName = SkOSPath::SkPathJoin(dir.c_str(), filename.c_str()); 34 size_t expectedSize = dir.size() + filename.size(); 42 // basename should be the same as filename 43 REPORTER_ASSERT(reporter, basename.equals(filename)); 48 // Now take the basename of filename, whic 22 test_dir_with_file(skiatest::Reporter* reporter, SkString dir, SkString filename) argument [all...] |
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/parse/ |
H A D | run_parser.py | 20 print "usage: %s filename" % argv[0] 23 for filename in argv[1:]: 24 with open(filename) as f: 25 print "%s:" % filename 27 print Parse(f.read(), filename)
|
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/support/ |
H A D | find_files.py | 16 for filename in fnmatch.filter(filenames, pattern): 17 matches.append(join(dirpath, filename)) 26 for filename in FindFiles(argv[1], argv[2]): 27 print filename
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/include/ |
H A D | utime.h | 16 int utime(const char* filename, const struct utimbuf* times);
|
/external/chromium_org/third_party/brotli/src/woff2/ |
H A D | file.h | 25 inline std::string GetFileContent(std::string filename) { argument 26 std::ifstream ifs(filename.c_str(), std::ios::binary); 32 inline void SetFileContents(std::string filename, std::string content) { argument 33 std::ofstream ofs(filename.c_str(), std::ios::binary);
|
/external/chromium_org/third_party/skia/tests/ |
H A D | OSPathTest.cpp | 14 * Will use SkOSPath::Join to append filename to dir, test that it works correctly, 19 * @param filename String representing the basename of a file. Must NOT 23 SkString filename) { 24 // If filename contains SkPATH_SEPARATOR, the tests will fail. 25 SkASSERT(!filename.contains(SkPATH_SEPARATOR)); 30 SkString fullName = SkOSPath::Join(dir.c_str(), filename.c_str()); 34 size_t expectedSize = dir.size() + filename.size(); 43 // basename should be the same as filename 44 REPORTER_ASSERT(reporter, basename.equals(filename)); 60 // Now take the basename of filename, whic 22 test_dir_with_file(skiatest::Reporter* reporter, SkString dir, SkString filename) argument [all...] |
/external/chromium_org/third_party/webrtc/base/ |
H A D | winfirewall.h | 38 bool QueryAuthorized(const char* filename, bool* authorized) const; 39 bool QueryAuthorizedW(const wchar_t* filename, bool* authorized) const; 41 bool AddApplication(const char* filename, const char* friendly_name, 43 bool AddApplicationW(const wchar_t* filename, const wchar_t* friendly_name,
|
/external/chromium_org/ui/base/resource/ |
H A D | resource_bundle_android.h | 13 bool AssetContainedInApk(const std::string& filename);
|
/external/jsilver/src/org/clearsilver/ |
H A D | CSFileLoader.java | 31 * @param filename the name of the file that should be loaded. 34 public String load(HDF hdf, String filename) throws IOException; argument
|
/external/bison/lib/ |
H A D | fopen.c | 30 orig_fopen (const char *filename, const char *mode) argument 32 return fopen (filename, mode); 48 rpl_fopen (const char *filename, const char *mode) argument 51 if (strcmp (filename, "/dev/null") == 0) 52 filename = "NUL"; 56 /* If the filename ends in a slash and a mode that requires write access is 64 "The special filename dot shall refer to the directory specified by 73 size_t len = strlen (filename); 74 if (len > 0 && filename[len - 1] == '/') 86 fd = open (filename, O_RDONL [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/test/ |
H A D | test_vector_test.cc | 74 const std::string filename = GET_PARAM(1); local 78 if (filename.substr(filename.length() - 3, 3) == "ivf") { 79 video = new libvpx_test::IVFVideoSource(filename); 80 } else if (filename.substr(filename.length() - 4, 4) == "webm") { 82 video = new libvpx_test::WebMVideoSource(filename); 85 filename.c_str()); 92 const std::string md5_filename = filename + ".md5";
|
/external/chromium_org/native_client_sdk/src/build_tools/ |
H A D | verify_ppapi.py | 42 for filename in sorted(expected): 43 msg += ' %s\n' % filename 46 for filename in sorted(unexpected): 47 msg += ' %s\n' % filename 57 for filename in filenames: 58 if os.path.splitext(filename)[1] not in ('.cc', '.h'): 61 parts = filename.split(os.sep) 62 basename = os.path.basename(filename) 66 if 'private' in filename: 67 if 'flash' in filename [all...] |
/external/chromium_org/gpu/command_buffer/service/ |
H A D | error_state.cc | 25 const char* filename, 31 const char* filename, 37 const char* filename, 44 const char* filename, 52 const char* filename, int line, const char* function_name) OVERRIDE; 55 const char* filename, int line, const char* function_name) OVERRIDE; 58 const char* filename, int line, const char* function_name) OVERRIDE; 105 const char* filename, int line, const char* function_name) { 108 SetGLError(filename, line, error, function_name, ""); 114 const char* filename, 104 PeekGLError( const char* filename, int line, const char* function_name) argument 113 SetGLError( const char* filename, int line, unsigned int error, const char* function_name, const char* msg) argument 132 SetGLErrorInvalidEnum( const char* filename, int line, const char* function_name, unsigned int value, const char* label) argument 143 SetGLErrorInvalidParami( const char* filename, int line, unsigned int error, const char* function_name, unsigned int pname, int param) argument 164 SetGLErrorInvalidParamf( const char* filename, int line, unsigned int error, const char* function_name, unsigned int pname, float param) argument 177 CopyRealGLErrorsToWrapper( const char* filename, int line, const char* function_name) argument 186 ClearRealGLErrors( const char* filename, int line, const char* function_name) argument [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/ |
H A D | builtin-buildid-cache.c | 20 static int build_id_cache__add_file(const char *filename, const char *debugdir) argument 26 if (filename__read_build_id(filename, &build_id, sizeof(build_id)) < 0) { 27 pr_debug("Couldn't read a build-id in %s\n", filename); 32 err = build_id_cache__add_s(sbuild_id, debugdir, filename, 35 pr_info("Adding %s %s: %s\n", sbuild_id, filename, 40 static int build_id_cache__remove_file(const char *filename, argument 48 if (filename__read_build_id(filename, &build_id, sizeof(build_id)) < 0) { 49 pr_debug("Couldn't read a build-id in %s\n", filename); 56 pr_info("Removing %s %s: %s\n", sbuild_id, filename, 64 char filename[PATH_MA local 83 build_id_cache__fprintf_missing(const char *filename, bool force, FILE *fp) argument 96 build_id_cache__update_file(const char *filename, const char *debugdir) argument [all...] |
/external/chromium_org/ppapi/ |
H A D | PRESUBMIT.py | 33 for filename in files: 34 name_parts = filename.split(os.sep) 36 generator_files.append(filename) 54 for filename in files: 55 name, ext = os.path.splitext(filename) 74 filepath = os.path.join('..', filename) 76 todo.append(filename) 91 for filename in files: 92 name, ext = os.path.splitext(filename) 107 filepath = os.path.join('..', filename) [all...] |
/external/bison/examples/calc++/ |
H A D | position.hh | 66 : filename (f) 78 filename = fn; 100 std::string* filename; member in class:yy::position 143 && (pos1.filename == pos2.filename 144 || (pos1.filename && pos2.filename 145 && *pos1.filename == *pos2.filename))); 163 if (pos.filename) [all...] |
/external/chromium_org/native_client_sdk/src/tools/lib/ |
H A D | get_shared_deps.py | 76 A dict with key=filename and value=architecture. The architecture will be 116 for filename, arch in all_files.items(): 117 name = os.path.basename(filename) 119 del all_files[filename] 139 input_info: A dict with key=filename and value=architecture. The 148 for filename in files: 149 if os.path.exists(filename): 150 full_paths.add(filename) 152 for path in _FindLibsInPath(filename, lib_path): 175 filename [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | file.h | 42 void WriteStringToFileOrDie(const string &data, const string &filename); 43 void ReadFileToStringOrDie(const string &filename, string *data);
|
/external/chromium_org/chromeos/network/onc/ |
H A D | onc_test_utils.cc | 26 std::string ReadTestData(const std::string& filename) { argument 29 filename, 32 << kNetworkComponentDirectory << "/" << filename; local 41 const std::string& filename) { 45 filename, 48 << kNetworkComponentDirectory << "/" << filename; local 58 << filename << "': " << error_message; 61 << "File '" << filename 40 ReadTestDictionary( const std::string& filename) argument
|
/external/chromium_org/components/metrics/serialization/ |
H A D | serialization_utils.h | 27 void ReadAndTruncateMetricsFromFile(const std::string& filename, 30 // Serializes a sample and write it to filename. 40 bool WriteMetricToFile(const MetricSample& sample, const std::string& filename);
|
/external/chromium_org/content/browser/tracing/ |
H A D | generate_trace_viewer_grd.py | 21 <output filename="grit/tracing_resources.h" type="rc_header"> 24 <output filename="tracing_resources.pak" type="data_package" /> 48 def make_name_from_filename(filename): 49 return kTracingResourcePrefix + (os.path.splitext(filename)[1][1:]).upper() 52 def add_file_to_grd(grd_doc, filename): 57 new_include_node.setAttribute('name', make_name_from_filename(filename)) 58 new_include_node.setAttribute('file', filename) 61 if filename.endswith('.html'): 72 for filename in parsed_args.source_files: 73 add_file_to_grd(doc, os.path.basename(filename)) [all...] |