/external/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create_common.c | 42 int check_fallocate(const char *filename, const int lineno, int fd, in check_fallocate() argument 49 tst_brk_(filename, lineno, TFAIL | TERRNO, in check_fallocate() 54 tst_res_(filename, lineno, TPASS, in check_fallocate() 61 int check_fallocate_fail(const char *filename, const int lineno, int fd, in check_fallocate_fail() argument 68 tst_res_(filename, lineno, TFAIL, in check_fallocate_fail() 75 tst_res_(filename, lineno, TPASS | TERRNO, in check_fallocate_fail() 82 void check_ftruncate(const char *filename, const int lineno, int fd, in check_ftruncate() argument 85 safe_ftruncate(filename, lineno, fd, length); in check_ftruncate() 87 tst_res_(filename, lineno, TPASS, "ftruncate(%d, %ld) succeeded", fd, in check_ftruncate() 91 void check_ftruncate_fail(const char *filename, const int lineno, in check_ftruncate_fail() argument [all …]
|
/external/python/cpython3/Lib/ |
D | linecache.py | 15 def getline(filename, lineno, module_globals=None): argument 16 lines = getlines(filename, module_globals) 37 def getlines(filename, module_globals=None): argument 41 if filename in cache: 42 entry = cache[filename] 44 return cache[filename][2] 47 return updatecache(filename, module_globals) 53 def checkcache(filename=None): argument 57 if filename is None: 60 if filename in cache: [all …]
|
/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_new_file_test.c | 101 char *filename = ""; in stage_file_test() local 239 filename = "/tmp/mknod_fifo_test"; in stage_file_test() 240 show_result(mknod(filename, S_IFIFO | 0644, 0), 1); in stage_file_test() 242 unlink2(filename); in stage_file_test() 243 show_result(mknod(filename, S_IFIFO | 0644, 0), 0); in stage_file_test() 247 filename = "/dev/null"; in stage_file_test() 248 stat(filename, &sbuf); in stage_file_test() 249 snprintf(pbuffer, sizeof(pbuffer) - 1, "allow_write %s", filename); in stage_file_test() 252 fd = open(filename, O_WRONLY); in stage_file_test() 257 fd = open(filename, O_WRONLY); in stage_file_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/doclava/src/com/google/doclava/ |
D | DocFile.java | 31 public static String readFile(String filename) { in readFile() argument 33 File f = new File(filename); in readFile() 58 public static String getPathRoot(String filename) { in getPathRoot() argument 62 int langStart = filename.indexOf("/" + t + "/"); in getPathRoot() 64 int langEnd = filename.indexOf("/", langStart + 1); in getPathRoot() 65 filename = filename.substring(langEnd + 1); in getPathRoot() 69 return filename; in getPathRoot() 183 String filename = outfile; in writePage() local 187 filename = filename.replaceFirst("^en/", ""); in writePage() 191 filename = getPathRoot(filename); in writePage() [all …]
|
/external/python/cpython2/Lib/ |
D | linecache.py | 13 def getline(filename, lineno, module_globals=None): argument 14 lines = getlines(filename, module_globals) 33 def getlines(filename, module_globals=None): argument 37 if filename in cache: 38 return cache[filename][2] 41 return updatecache(filename, module_globals) 47 def checkcache(filename=None): argument 51 if filename is None: 54 if filename in cache: 55 filenames = [filename] [all …]
|
D | bdb.py | 29 def canonic(self, filename): argument 30 if filename == "<" + filename[1:-1] + ">": 31 return filename 32 canonic = self.fncache.get(filename) 34 canonic = os.path.abspath(filename) 36 self.fncache[filename] = canonic 127 filename = self.canonic(frame.f_code.co_filename) 128 if not filename in self.breaks: 131 if not lineno in self.breaks[filename]: 135 if not lineno in self.breaks[filename]: [all …]
|
/external/expat/xmlwf/ |
D | xmlfile.c | 80 processStream(const XML_Char *filename, XML_Parser parser); 83 reportError(XML_Parser parser, const XML_Char *filename) in reportError() argument 93 filename, in reportError() 98 ftprintf(stderr, T("%s: (unknown message %d)\n"), filename, code); in reportError() 104 const XML_Char *filename, void *args) in processFile() argument 109 reportError(parser, filename); in processFile() 165 const XML_Char *filename; in externalEntityRefFilemap() local 171 filename = resolveSystemId(base, systemId, &s); in externalEntityRefFilemap() 172 XML_SetBase(entParser, filename); in externalEntityRefFilemap() 173 filemapRes = filemap(filename, processFile, &args); in externalEntityRefFilemap() [all …]
|
/external/python/cpython2/Lib/idlelib/ |
D | FileList.py | 17 def open(self, filename, action=None): argument 18 assert filename 19 filename = self.canonize(filename) 20 if os.path.isdir(filename): 24 "%r is a directory." % (filename,), 27 key = os.path.normcase(filename) 34 return action(filename) 36 return self.EditorWindow(self, filename, key) 38 def gotofileline(self, filename, lineno=None): argument 39 edit = self.open(filename) [all …]
|
D | ScriptBinding.py | 61 filename = self.getfilename() 62 if not filename: 64 if not self.checksyntax(filename): 66 if not self.tabnanny(filename): 69 def tabnanny(self, filename): argument 70 f = open(filename, 'r') 86 def checksyntax(self, filename): argument 90 with open(filename, 'r') as f: 102 return compile(source, filename, "exec") 107 err.args = msg, (filename, lineno, offset, line) [all …]
|
/external/python/cpython3/Lib/test/ |
D | test_gzip.py | 39 filename = support.TESTFN variable in BaseTest 42 support.unlink(self.filename) 45 support.unlink(self.filename) 51 with gzip.GzipFile(self.filename, 'w'+mode) as f: 54 with gzip.GzipFile(self.filename, 'r'+mode) as f: 58 with gzip.GzipFile(self.filename, 'wb') as f: 72 filename = pathlib.Path(self.filename) 73 with gzip.GzipFile(filename, 'w') as f: 76 with gzip.GzipFile(filename, 'a') as f: 78 with gzip.GzipFile(filename) as f: [all …]
|
/external/python/cpython3/Lib/idlelib/ |
D | filelist.py | 18 def open(self, filename, action=None): argument 19 assert filename 20 filename = self.canonize(filename) 21 if os.path.isdir(filename): 25 "%r is a directory." % (filename,), 28 key = os.path.normcase(filename) 35 return action(filename) 37 edit = self.EditorWindow(self, filename, key) 44 def gotofileline(self, filename, lineno=None): argument 45 edit = self.open(filename) [all …]
|
D | runscript.py | 59 filename = self.getfilename() 60 if not filename: 62 if not self.checksyntax(filename): 64 if not self.tabnanny(filename): 67 def tabnanny(self, filename): argument 69 with tokenize.open(filename) as f: 85 def checksyntax(self, filename): argument 89 with open(filename, 'rb') as f: 101 return compile(source, filename, "exec") 137 filename = self.getfilename() [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/iptables/ |
D | iptables-test.py | 42 def print_error(reason, filename=None, lineno=None): argument 46 print (filename + ": " + Colors.RED + "ERROR" + 50 def delete_rule(iptables, rule, filename, lineno): argument 55 ret = execute_cmd(cmd, filename, lineno) 58 print_error(reason, filename, lineno) 64 def run_test(iptables, rule, rule_save, res, filename, lineno): argument 79 ret = execute_cmd(cmd, filename, lineno) 87 print_error(reason, filename, lineno) 95 print_error(reason, filename, lineno) 96 delete_rule(iptables, rule, filename, lineno) [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/google-styleguide/cpplint/ |
D | cpplint.py | 577 def ParseNolintSuppressions(filename, raw_line, linenum, error): argument 605 error(filename, linenum, 'readability/nolint', 5, 1053 def Check(self, error, filename, linenum): argument 1075 error(filename, linenum, 'readability/fn_size', error_level, 1098 def __init__(self, filename): argument 1099 self._filename = filename 1210 def Error(filename, linenum, category, confidence, message): argument 1236 filename, linenum, category, message, confidence)) 1239 filename, linenum, message, category, confidence)) 1242 filename, linenum, message, category, confidence)) [all …]
|
/external/perf_data_converter/src/quipper/testdata/ |
D | perf.data.systemwide.0-3.8.parse.remap2.out.pb_text | 58 filename: "[kernel.kallsyms]_stext" 80 filename: "/lib/modules/3.8.11/kernel/drivers/input/joydev.ko" 102 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-memops.ko" 124 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-vmalloc.ko" 146 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videodev.ko" 168 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-core.ko" 190 filename: "/lib/modules/3.8.11/kernel/drivers/media/usb/uvc/uvcvideo.ko" 212 filename: "/lib/modules/3.8.11/kernel/drivers/net/usb/usbnet.ko" 234 filename: "/lib/modules/3.8.11/kernel/drivers/net/usb/asix.ko" 256 filename: "/lib/modules/3.8.11/kernel/net/wireless-3.4/cfg80211.ko" [all …]
|
D | perf.data.systemwide.0-3.8.pb_text | 58 filename: "[kernel.kallsyms]_stext" 81 filename: "/lib/modules/3.8.11/kernel/drivers/input/joydev.ko" 104 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-memops.ko" 127 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-vmalloc.ko" 150 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videodev.ko" 173 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-core.ko" 196 filename: "/lib/modules/3.8.11/kernel/drivers/media/usb/uvc/uvcvideo.ko" 219 filename: "/lib/modules/3.8.11/kernel/drivers/net/usb/usbnet.ko" 242 filename: "/lib/modules/3.8.11/kernel/drivers/net/usb/asix.ko" 265 filename: "/lib/modules/3.8.11/kernel/net/wireless-3.4/cfg80211.ko" [all …]
|
D | perf.data.systemwide.0-3.8.io.out.pb_text | 58 filename: "[kernel.kallsyms]_stext" 81 filename: "/lib/modules/3.8.11/kernel/drivers/input/joydev.ko" 104 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-memops.ko" 127 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-vmalloc.ko" 150 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videodev.ko" 173 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-core.ko" 196 filename: "/lib/modules/3.8.11/kernel/drivers/media/usb/uvc/uvcvideo.ko" 219 filename: "/lib/modules/3.8.11/kernel/drivers/net/usb/usbnet.ko" 242 filename: "/lib/modules/3.8.11/kernel/drivers/net/usb/asix.ko" 265 filename: "/lib/modules/3.8.11/kernel/net/wireless-3.4/cfg80211.ko" [all …]
|
D | perf.data.systemwide.0-3.8.ser.comm.out.pb_text | 58 filename: "[kernel.kallsyms]_stext" 81 filename: "/lib/modules/3.8.11/kernel/drivers/input/joydev.ko" 104 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-memops.ko" 127 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-vmalloc.ko" 150 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videodev.ko" 173 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-core.ko" 196 filename: "/lib/modules/3.8.11/kernel/drivers/media/usb/uvc/uvcvideo.ko" 219 filename: "/lib/modules/3.8.11/kernel/drivers/net/usb/usbnet.ko" 242 filename: "/lib/modules/3.8.11/kernel/drivers/net/usb/asix.ko" 265 filename: "/lib/modules/3.8.11/kernel/net/wireless-3.4/cfg80211.ko" [all …]
|
D | perf.data.systemwide.0-3.8.parse.out.pb_text | 58 filename: "[kernel.kallsyms]_stext" 81 filename: "/lib/modules/3.8.11/kernel/drivers/input/joydev.ko" 104 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-memops.ko" 127 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-vmalloc.ko" 150 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videodev.ko" 173 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-core.ko" 196 filename: "/lib/modules/3.8.11/kernel/drivers/media/usb/uvc/uvcvideo.ko" 219 filename: "/lib/modules/3.8.11/kernel/drivers/net/usb/usbnet.ko" 242 filename: "/lib/modules/3.8.11/kernel/drivers/net/usb/asix.ko" 265 filename: "/lib/modules/3.8.11/kernel/net/wireless-3.4/cfg80211.ko" [all …]
|
D | perf.data.systemwide.0-3.8.serialized.out.pb_text | 58 filename: "[kernel.kallsyms]_stext" 81 filename: "/lib/modules/3.8.11/kernel/drivers/input/joydev.ko" 104 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-memops.ko" 127 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-vmalloc.ko" 150 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videodev.ko" 173 filename: "/lib/modules/3.8.11/kernel/drivers/media/v4l2-core/videobuf2-core.ko" 196 filename: "/lib/modules/3.8.11/kernel/drivers/media/usb/uvc/uvcvideo.ko" 219 filename: "/lib/modules/3.8.11/kernel/drivers/net/usb/usbnet.ko" 242 filename: "/lib/modules/3.8.11/kernel/drivers/net/usb/asix.ko" 265 filename: "/lib/modules/3.8.11/kernel/net/wireless-3.4/cfg80211.ko" [all …]
|