/external/doclava/src/com/google/doclava/ |
D | DocFile.java | 30 public static String readFile(String filename) { in readFile() argument 32 File f = new File(filename); in readFile() 57 public static String getPathRoot(String filename) { in getPathRoot() argument 61 int langStart = filename.indexOf("/" + t + "/"); in getPathRoot() 63 int langEnd = filename.indexOf("/", langStart + 1); in getPathRoot() 64 filename = filename.substring(langEnd + 1); in getPathRoot() 68 return filename; in getPathRoot() 182 String filename = outfile; in writePage() local 186 filename = filename.replaceFirst("^en/", ""); in writePage() 190 filename = getPathRoot(filename); in writePage() [all …]
|
/external/libnfc-nci/halimpl/bcm2079x/adaptation/ |
D | NonVolatileStore.cpp | 66 char filename[256]; in nfc_hal_nv_co_read() local 74 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), block); in nfc_hal_nv_co_read() 76 ALOGD ("%s: buffer len=%u; file=%s", __FUNCTION__, nbytes, filename); in nfc_hal_nv_co_read() 77 int fileStream = open (filename, O_RDONLY); in nfc_hal_nv_co_read() 124 char filename[256]; in nfc_hal_nv_co_write() local 133 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), block); in nfc_hal_nv_co_write() 134 ALOGD ("%s: bytes=%u; file=%s", __FUNCTION__, nbytes, filename); in nfc_hal_nv_co_write() 136 fileStream = open (filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in nfc_hal_nv_co_write() 199 char filename[256]; in delete_hal_non_volatile_store() local 215 snprintf (filename, sizeof(filename), "%s%u", fn.c_str(), DH_NV_BLOCK); in delete_hal_non_volatile_store() [all …]
|
/external/libnfc-nci/src/adaptation/ |
D | libmain.c | 89 char filename[256], filename2[256]; in nfa_nv_co_read() local 91 memset (filename, 0, sizeof(filename)); in nfa_nv_co_read() 100 sprintf (filename, "%s%u", filename2, block); in nfa_nv_co_read() 102 ALOGD ("%s: buffer len=%u; file=%s", __FUNCTION__, nbytes, filename); in nfa_nv_co_read() 103 int fileStream = open (filename, O_RDONLY); in nfa_nv_co_read() 148 char filename[256], filename2[256]; in nfa_nv_co_write() local 150 memset (filename, 0, sizeof(filename)); in nfa_nv_co_write() 159 sprintf (filename, "%s%u", filename2, block); in nfa_nv_co_write() 160 ALOGD ("%s: bytes=%u; file=%s", __FUNCTION__, nbytes, filename); in nfa_nv_co_write() 164 fileStream = open (filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in nfa_nv_co_write() [all …]
|
/external/skia/tests/ |
D | PathOpsSimplifyTest.cpp | 11 static void testLine1(skiatest::Reporter* reporter, const char* filename) { in testLine1() argument 17 testSimplify(reporter, path, filename); in testLine1() 20 static void testLine1x(skiatest::Reporter* reporter, const char* filename) { in testLine1x() argument 27 testSimplify(reporter, path, filename); in testLine1x() 58 static void testLine2(skiatest::Reporter* reporter, const char* filename) { in testLine2() argument 62 testSimplify(reporter, path, filename); in testLine2() 65 static void testLine2x(skiatest::Reporter* reporter, const char* filename) { in testLine2x() argument 70 testSimplify(reporter, path, filename); in testLine2x() 73 static void testLine3(skiatest::Reporter* reporter, const char* filename) { in testLine3() argument 77 testSimplify(reporter, path, filename); in testLine3() [all …]
|
D | PathOpsOpTest.cpp | 32 static void cubicOp1d(skiatest::Reporter* reporter, const char* filename) { in cubicOp1d() argument 42 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename); in cubicOp1d() 45 static void cubicOp2d(skiatest::Reporter* reporter, const char* filename) { in cubicOp2d() argument 55 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename); in cubicOp2d() 58 static void cubicOp3d(skiatest::Reporter* reporter, const char* filename) { in cubicOp3d() argument 68 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename); in cubicOp3d() 71 static void cubicOp5d(skiatest::Reporter* reporter, const char* filename) { in cubicOp5d() argument 81 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename); in cubicOp5d() 84 static void cubicOp6d(skiatest::Reporter* reporter, const char* filename) { in cubicOp6d() argument 94 testPathOp(reporter, path, pathB, kDifference_SkPathOp, filename); in cubicOp6d() [all …]
|
D | OSPathTest.cpp | 23 SkString filename) { in test_dir_with_file() argument 25 SkASSERT(!filename.contains(SkPATH_SEPARATOR)); in test_dir_with_file() 30 SkString fullName = SkOSPath::Join(dir.c_str(), filename.c_str()); in test_dir_with_file() 34 size_t expectedSize = dir.size() + filename.size(); in test_dir_with_file() 44 REPORTER_ASSERT(reporter, basename.equals(filename)); in test_dir_with_file() 61 basename = SkOSPath::Basename(filename.c_str()); in test_dir_with_file() 62 REPORTER_ASSERT(reporter, basename.equals(filename)); in test_dir_with_file() 67 SkString filename("file"); in DEF_TEST() local 68 test_dir_with_file(reporter, dir, filename); in DEF_TEST() 72 test_dir_with_file(reporter, dir, filename); in DEF_TEST() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/lang/ |
D | wpa_gui_de.ts | 7 <location filename="../addinterface.cpp" line="38"/> 12 <location filename="../addinterface.cpp" line="47"/> 17 <location filename="../addinterface.cpp" line="48"/> 22 <location filename="../addinterface.cpp" line="49"/> 27 <location filename="../addinterface.cpp" line="221"/> 32 <location filename="../addinterface.cpp" line="229"/> 37 <location filename="../addinterface.cpp" line="238"/> 45 <location filename="../wpagui.cpp" line="1621"/> 53 <location filename="../eventhistory.ui" line="13"/> 58 <location filename="../eventhistory.ui" line="48"/> [all …]
|
/external/chromium-trace/catapult/third_party/coverage/coverage/ |
D | data.py | 170 def lines(self, filename): argument 181 if filename in self._arcs: 182 return [s for s, __ in self._arcs[filename] if s > 0] 184 if filename in self._lines: 185 return self._lines[filename] 188 def arcs(self, filename): argument 206 if filename in self._arcs: 207 return self._arcs[filename] 210 def file_tracer(self, filename): argument 221 if filename in (self._arcs or self._lines or {}): [all …]
|
D | plugin.py | 44 def file_tracer(self, filename): # pylint: disable=unused-argument argument 81 def file_reporter(self, filename): # pylint: disable=unused-argument argument 151 def dynamic_source_filename(self, filename, frame): # pylint: disable=unused-argument argument 197 def __init__(self, filename): argument 205 self.filename = filename 219 return files.relative_filename(self.filename) 232 with open(self.filename, "rb") as f: 366 return isinstance(other, FileReporter) and self.filename == other.filename 372 return self.filename < other.filename 375 return self.filename <= other.filename [all …]
|
D | python.py | 19 def read_python_source(filename): argument 25 with open(filename, "rb") as f: 30 def get_python_source(filename): argument 32 base, ext = os.path.splitext(filename) 51 raise NoSource("No source for code: '%s'." % filename) 63 def get_zip_bytes(filename): argument 73 if marker in filename: 74 parts = filename.split(marker) 94 filename = morf.__file__ 96 filename = morf [all …]
|
D | files.py | 40 def relative_filename(filename): argument 47 fnorm = os.path.normcase(filename) 49 filename = filename[len(RELATIVE_DIR):] 50 return unicode_filename(filename) 54 def canonical_filename(filename): argument 60 if filename not in CANONICAL_FILENAME_CACHE: 61 if not os.path.isabs(filename): 65 f = os.path.join(path, filename) 67 filename = f 69 cf = abs_file(filename) [all …]
|
/external/opencv3/modules/videoio/src/ |
D | cap_images.cpp | 70 filename = 0; in CvCapture_Images() 89 char* filename; // actually a printf-pattern member in CvCapture_Images 100 if( filename ) in close() 102 free(filename); in close() 103 filename = 0; in close() 114 sprintf(str, filename, firstframe + currentframe); in grabFrame() 187 static char* icvExtractPattern(const char *filename, unsigned *offset) in icvExtractPattern() argument 189 char *name = (char *)filename; in icvExtractPattern() 191 if( !filename ) in icvExtractPattern() 201 name = strdup(filename); in icvExtractPattern() [all …]
|
D | precomp.hpp | 110 CvCapture* cvCreateFileCapture_Win32( const char* filename ); 112 CvCapture* cvCreateFileCapture_VFW( const char* filename ); 113 CvVideoWriter* cvCreateVideoWriter_Win32( const char* filename, int fourcc, 115 CvVideoWriter* cvCreateVideoWriter_VFW( const char* filename, int fourcc, 119 CvCapture* cvCreateFileCapture_MSMF (const char* filename); 120 CvVideoWriter* cvCreateVideoWriter_MSMF( const char* filename, int fourcc, 123 CvCapture* cvCreateFileCapture_OpenNI( const char* filename ); 128 CvCapture* cvCreateFileCapture_Images(const char* filename); 129 CvVideoWriter* cvCreateVideoWriter_Images(const char* filename); 131 CvCapture* cvCreateFileCapture_XINE (const char* filename); [all …]
|
/external/autotest/client/site_tests/firmware_TouchMTB/tests/ |
D | validators_unittest.py | 55 def _test_count_tracking_id(self, filename, criteria, device): argument 56 packets = parse_tests_data(filename) 66 filename = 'two_finger_id_change.dat' 67 score = self._test_count_tracking_id(filename, '== 2', lumpy) 75 filename = 'one_finger_fast_swipe_id_split.dat' 76 score = self._test_count_tracking_id(filename, '== 1', lumpy) 84 filename = 'two_finger_fast_flick_id_split.dat' 85 score = self._test_count_tracking_id(filename, '== 2', lumpy) 95 def _test_drumroll(self, filename, criteria, device): argument 96 packets = parse_tests_data(filename) [all …]
|
/external/compiler-rt/lib/sanitizer_common/scripts/ |
D | cpplint.py | 360 def ParseNolintSuppressions(filename, raw_line, linenum, error): argument 385 error(filename, linenum, 'readability/nolint', 5, 700 def Check(self, error, filename, linenum): argument 719 error(filename, linenum, 'readability/fn_size', error_level, 742 def __init__(self, filename): argument 743 self._filename = filename 852 def Error(filename, linenum, category, confidence, message): argument 878 filename, linenum, message, category, confidence)) 881 filename, linenum, message, category, confidence)) 884 filename, linenum, message, category, confidence)) [all …]
|
/external/libvpx/libvpx/tools/ |
D | cpplint.py | 455 def ParseNolintSuppressions(filename, raw_line, linenum, error): argument 480 error(filename, linenum, 'readability/nolint', 5, 825 def Check(self, error, filename, linenum): argument 844 error(filename, linenum, 'readability/fn_size', error_level, 867 def __init__(self, filename): argument 868 self._filename = filename 977 def Error(filename, linenum, category, confidence, message): argument 1003 filename, linenum, message, category, confidence)) 1006 filename, linenum, message, category, confidence)) 1009 filename, linenum, message, category, confidence)) [all …]
|
/external/ppp/pppd/plugins/radius/ |
D | config.c | 53 static int set_option_str(char *filename, int line, OPTION *option, char *p) in set_option_str() argument 63 static int set_option_int(char *filename, int line, OPTION *option, char *p) in set_option_int() argument 68 error("%s: line %d: bogus option value", filename, line); in set_option_int() 83 static int set_option_srv(char *filename, int line, OPTION *option, char *p) in set_option_srv() argument 91 error("%s: line %d: bogus option value", filename, line); in set_option_srv() 120 error("%s: line %d: no default port for %s", filename, line, option->name); in set_option_srv() 133 static int set_option_auo(char *filename, int line, OPTION *option, char *p) in set_option_auo() argument 138 warn("%s: line %d: bogus option value", filename, line); in set_option_auo() 155 error("%s: auth_order: unknown keyword: %s", filename, p); in set_option_auo() 167 error("%s: auth_order: unknown or unexpected keyword: %s", filename, p); in set_option_auo() [all …]
|
/external/chromium-trace/catapult/third_party/Paste/paste/ |
D | reloader.py | 102 filename = module.__file__ 105 if filename is not None: 106 filenames.append(filename) 107 for filename in filenames: 109 stat = os.stat(filename) 116 if filename.endswith('.pyc') and os.path.exists(filename[:-1]): 117 mtime = max(os.stat(filename[:-1]).st_mtime, mtime) 118 elif filename.endswith('$py.class') and \ 119 os.path.exists(filename[:-9] + '.py'): 120 mtime = max(os.stat(filename[:-9] + '.py').st_mtime, mtime) [all …]
|
/external/antlr/antlr-3.4/runtime/Perl5/tools/ |
D | port.pl | 41 my ($filename) = @_; 43 open my $in, '<', $filename or croak "Can't open $filename: $!"; 44 if (filetype($filename) =~ /^text\//xms) { 48 croak "Can't binmode $filename: $!"; 54 close $in or warn "Can't close $filename: $!"; 64 my ($filename) = @_; 67 if (-e $filename) { 68 $resolved_file = $filename; 73 map { File::Spec->catfile($_, $filename) } 114 my ($filename) = @_; [all …]
|
/external/opencv3/modules/videoio/ |
D | precomp.hpp | 110 CvCapture* cvCreateFileCapture_Win32( const char* filename ); 112 CvCapture* cvCreateFileCapture_VFW( const char* filename ); 113 CvVideoWriter* cvCreateVideoWriter_Win32( const char* filename, int fourcc, 115 CvVideoWriter* cvCreateVideoWriter_VFW( const char* filename, int fourcc, 119 CvCapture* cvCreateFileCapture_MSMF (const char* filename); 120 CvVideoWriter* cvCreateVideoWriter_MSMF( const char* filename, int fourcc, 123 CvCapture* cvCreateFileCapture_OpenNI( const char* filename ); 128 CvCapture* cvCreateFileCapture_Images(const char* filename); 129 CvVideoWriter* cvCreateVideoWriter_Images(const char* filename); 131 CvCapture* cvCreateFileCapture_XINE (const char* filename); [all …]
|
/external/slf4j/slf4j-migrator/src/main/java/org/slf4j/migrator/helper/ |
D | Abbreviator.java | 40 public String abbreviate(String filename) { in abbreviate() argument 41 if (filename.length() <= desiredLength) { in abbreviate() 42 return filename; in abbreviate() 45 int firstIndex = filename.indexOf(folderSeparator, invariantPrefixLength); in abbreviate() 48 return filename; in abbreviate() 51 buf.append(filename.substring(0, firstIndex + 1)); in abbreviate() 53 int nextIndex = computeNextIndex(filename, firstIndex); in abbreviate() 55 buf.append(filename.substring(nextIndex)); in abbreviate() 58 return filename; in abbreviate() 61 if (buf.length() < filename.length()) { in abbreviate() [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/samples/storage_sample/ |
D | uploads_test.py | 50 for filename in self.__files: 51 self.__DeleteFile(filename) 53 def __DeleteFile(self, filename): argument 54 object_name = os.path.join(self._TESTDATA_PREFIX, filename) 59 def __InsertRequest(self, filename): argument 60 object_name = os.path.join(self._TESTDATA_PREFIX, filename) 64 def __GetRequest(self, filename): argument 65 object_name = os.path.join(self._TESTDATA_PREFIX, filename) 69 def __InsertFile(self, filename, request=None): argument 71 request = self.__InsertRequest(filename) [all …]
|
/external/vboot_reference/host/lib/ |
D | host_misc.c | 27 uint8_t* ReadFile(const char* filename, uint64_t* sizeptr) { in ReadFile() argument 32 f = fopen(filename, "rb"); in ReadFile() 34 VBDEBUG(("Unable to open file %s\n", filename)); in ReadFile() 49 VBDEBUG(("Unable to read from file %s\n", filename)); in ReadFile() 62 char* ReadFileString(char* dest, int size, const char* filename) { in ReadFileString() argument 66 f = fopen(filename, "rt"); in ReadFileString() 76 int ReadFileInt(const char* filename, unsigned* value) { in ReadFileInt() argument 80 if (!ReadFileString(buf, sizeof(buf), filename)) in ReadFileInt() 92 int ReadFileBit(const char* filename, int bitmask) { in ReadFileBit() argument 94 if (ReadFileInt(filename, &value) < 0) in ReadFileBit() [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/ |
D | run_pylint.py | 51 def read_config(filename): argument 54 with open(filename, 'r') as file_obj: 80 def valid_filename(filename): argument 83 if filename.startswith(directory): 85 return (filename.endswith('.py') and 86 filename not in IGNORED_FILES) 89 def is_production_filename(filename): argument 95 return not ('demo' in filename or 'test' in filename or 96 filename.startswith('regression')) 175 for filename in all_files: [all …]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/ |
D | upload-diffs.py | 721 for (key, filename, value) in files: 724 (key, filename)) 725 lines.append('Content-Type: %s' % GetContentType(filename)) 737 def GetContentType(filename): argument 739 return mimetypes.guess_type(filename)[0] or 'application/octet-stream' 851 def GetBaseFile(self, filename): argument 879 unused, filename = line.split(':', 1) 882 filename = filename.strip().replace('\\', '/') 883 files[filename] = self.GetBaseFile(filename) 891 def UploadFile(filename, file_id, content, is_binary, status, is_base): argument [all …]
|