/third_party/typescript_eslint/packages/eslint-plugin/tests/rules/ |
D | explicit-function-return-type.test.ts | 11 filename: 'test.ts', 19 filename: 'test.ts', 27 filename: 'test.ts', 33 filename: 'test.ts', 49 filename: 'test.ts', 58 filename: 'test.ts', 67 filename: 'test.ts', 76 filename: 'test.ts', 85 filename: 'test.ts', 94 filename: 'test.ts', [all …]
|
D | explicit-member-accessibility.test.ts | 11 filename: 'test.ts', 25 filename: 'test.ts', 39 filename: 'test.ts', 53 filename: 'test.ts', 67 filename: 'test.ts', 81 filename: 'test.ts', 95 filename: 'test.ts', 109 filename: 'test.ts', 121 filename: 'test.ts', 131 filename: 'test.ts', [all …]
|
/third_party/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create_common.c | 32 int check_fallocate(const char *filename, const int lineno, int fd, in check_fallocate() argument 39 tst_brk_(filename, lineno, TFAIL | TERRNO, in check_fallocate() 44 tst_res_(filename, lineno, TPASS, in check_fallocate() 51 int check_fallocate_fail(const char *filename, const int lineno, int fd, in check_fallocate_fail() argument 58 tst_res_(filename, lineno, TFAIL, in check_fallocate_fail() 65 tst_res_(filename, lineno, TPASS | TERRNO, in check_fallocate_fail() 72 void check_ftruncate(const char *filename, const int lineno, int fd, in check_ftruncate() argument 75 safe_ftruncate(filename, lineno, fd, length); in check_ftruncate() 77 tst_res_(filename, lineno, TPASS, "ftruncate(%d, %ld) succeeded", fd, in check_ftruncate() 81 void check_ftruncate_fail(const char *filename, const int lineno, in check_ftruncate_fail() argument [all …]
|
/third_party/cef/tools/ |
D | fix_style.py | 26 def msg(filename, status): argument 29 filename = filename.replace("\\", "/") 31 if len(filename) > 60: 33 filename = filename[-57:] 34 pos = filename.find("/") 36 filename = filename[pos:] 37 filename = "..." + filename 39 print("%-60s %s" % (filename, status)) 54 def update_file(filename): argument 55 oldcontents = read_file(filename) [all …]
|
/third_party/python/Lib/ |
D | linecache.py | 26 def getline(filename, lineno, module_globals=None): argument 30 lines = getlines(filename, module_globals) 36 def getlines(filename, module_globals=None): argument 40 if filename in cache: 41 entry = cache[filename] 43 return cache[filename][2] 46 return updatecache(filename, module_globals) 52 def checkcache(filename=None): argument 56 if filename is None: 58 elif filename in cache: [all …]
|
/third_party/protobuf/benchmarks/util/ |
D | result_parser.py | 14 def __get_data_size(filename): argument 15 if filename[0] != '/': 16 filename = os.path.dirname(os.path.abspath(__file__)) + "/../" + filename 17 if filename in __file_size_map: 18 return __file_size_map[filename] 21 open(filename, "rb").read()) 27 __file_size_map[filename] = (size, 1.0 * size / count) 58 def __parse_cpp_result(filename): argument 59 if filename == "": 61 if filename[0] != '/': [all …]
|
/third_party/python/Tools/c-analyzer/c_parser/ |
D | source.py | 5 def resolve(source, filename): argument 7 return _resolve_filename(source, filename) 13 if not filename: 14 filename = None 15 elif not isinstance(filename, str): 18 filename, _ = _resolve_filename(filename) 19 return source, filename 23 def good_file(filename, alt=None): argument 24 if not _looks_like_filename(filename): 26 filename, _ = _resolve_filename(filename, alt) [all …]
|
/third_party/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 …]
|
/third_party/typescript/tests/cases/conformance/jsx/ |
D | jsxInvalidEsprimaTestSuite.tsx | 2 // @filename: 1.tsx 6 // @filename: 2.tsx 8 // @filename: 3.tsx 10 // @filename: 4.tsx 12 // @filename: 5.tsx 14 // @filename: 6.tsx 16 // @filename: 7.tsx 18 // @filename: 8.tsx 20 // @filename: 9.tsx 22 // @filename: 10.tsx [all …]
|
/third_party/boost/libs/gil/test/extension/io/ |
D | tiff_file_format_test.cpp | 27 void test_tiff_scanline_reader( string filename ) in BOOST_AUTO_TEST_SUITE() 29 test_scanline_reader<Image, tag_t>( filename.c_str() ); in BOOST_AUTO_TEST_SUITE() 35 std::string filename( tiff_in + "libtiffpic/depth/flower-minisblack-02.tif" ); in BOOST_AUTO_TEST_CASE() local 41 read_image( filename in BOOST_AUTO_TEST_CASE() 58 std::string filename( tiff_in + "libtiffpic/depth/flower-minisblack-04.tif" ); in BOOST_AUTO_TEST_CASE() local 64 read_image( filename in BOOST_AUTO_TEST_CASE() 81 std::string filename( tiff_in + "libtiffpic/depth/flower-minisblack-06.tif" ); in BOOST_AUTO_TEST_CASE() local 87 read_image( filename in BOOST_AUTO_TEST_CASE() 104 std::string filename( tiff_in + "libtiffpic/depth/flower-minisblack-08.tif" ); in BOOST_AUTO_TEST_CASE() local 110 read_image( filename in BOOST_AUTO_TEST_CASE() [all …]
|
/third_party/python/Tools/c-analyzer/c_common/ |
D | fsutil.py | 19 filename = old 21 filename = getattr(old, 'name', None) 22 if not filename: 27 shutil.copyfile(filename, backup) 29 if exc.filename != filename: 38 def fix_filename(filename, relroot=USE_CWD, *, argument 44 return os.path.abspath(filename) 47 return _fix_filename(filename, relroot) 50 def _fix_filename(filename, relroot, *, argument 53 orig = filename [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 …]
|
/third_party/spirv-tools/test/tools/ |
D | placeholder.py | 68 self.filename = None 79 shader, self.filename = tempfile.mkstemp( 84 return self.filename 87 assert self.filename is not None 88 return self.filename 99 self.filename = None 107 temp_fd, self.filename = tempfile.mkstemp( 112 return '-Oconfig=%s' % self.filename 115 assert self.filename is not None 116 return self.filename [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/ |
D | placeholder.py | 68 self.filename = None 79 shader, self.filename = tempfile.mkstemp( 84 return self.filename 87 assert self.filename is not None 88 return self.filename 99 self.filename = None 107 temp_fd, self.filename = tempfile.mkstemp( 112 return '-Oconfig=%s' % self.filename 115 assert self.filename is not None 116 return self.filename [all …]
|
/third_party/skia/third_party/externals/spirv-tools/test/tools/ |
D | placeholder.py | 68 self.filename = None 79 shader, self.filename = tempfile.mkstemp( 84 return self.filename 87 assert self.filename is not None 88 return self.filename 99 self.filename = None 107 temp_fd, self.filename = tempfile.mkstemp( 112 return '-Oconfig=%s' % self.filename 115 assert self.filename is not None 116 return self.filename [all …]
|
/third_party/boost/libs/gil/test/extension/io/tiff/ |
D | tiff_file_format_test.cpp | 22 void test_tiff_scanline_reader(std::string filename) in test_tiff_scanline_reader() argument 24 test_scanline_reader<Image, gil::tiff_tag>(filename.c_str()); in test_tiff_scanline_reader() 30 std::string filename(tiff_in + "libtiffpic/depth/flower-minisblack-02.tif"); in test_two_bit_minisblack_gray_image() local 34 gil::read_image(filename, img, gil::tiff_tag()); in test_two_bit_minisblack_gray_image() 44 std::string filename(tiff_in + "libtiffpic/depth/flower-minisblack-04.tif"); in test_four_bit_minisblack_gray_image() local 48 gil::read_image(filename, img, gil::tiff_tag()); in test_four_bit_minisblack_gray_image() 58 std::string filename(tiff_in + "libtiffpic/depth/flower-minisblack-06.tif"); in test_six_bit_minisblack_gray_image() local 62 gil::read_image(filename, img, gil::tiff_tag()); in test_six_bit_minisblack_gray_image() 72 std::string filename(tiff_in + "libtiffpic/depth/flower-minisblack-08.tif"); in test_eight_bit_minisblack_gray_image() local 76 gil::read_image(filename, img, gil::tiff_tag()); in test_eight_bit_minisblack_gray_image() [all …]
|
/third_party/node/test/parallel/ |
D | test-fs-append-file.js | 46 const filename = join(tmpdir.path, 'append.txt'); constant 48 fs.appendFile(filename, s, common.mustSucceed(() => { 49 fs.readFile(filename, common.mustSucceed((buffer) => { 57 const filename = join(tmpdir.path, 'append-promise.txt'); constant 59 fs.promises.appendFile(filename, s) 60 .then(common.mustCall(() => fs.promises.readFile(filename))) 69 const filename = join(tmpdir.path, 'append-non-empty.txt'); constant 70 fs.writeFileSync(filename, currentFileData); 72 fs.appendFile(filename, s, common.mustSucceed(() => { 73 fs.readFile(filename, common.mustSucceed((buffer) => { [all …]
|
/third_party/skia/third_party/externals/expat/expat/xmlwf/ |
D | xmlfile.c | 84 static int processStream(const XML_Char *filename, XML_Parser parser); 87 reportError(XML_Parser parser, const XML_Char *filename) { in reportError() argument 94 filename, XML_GetErrorLineNumber(parser), in reportError() 97 ftprintf(stderr, T("%s: (unknown message %d)\n"), filename, code); in reportError() 102 processFile(const void *data, size_t size, const XML_Char *filename, in processFile() argument 107 reportError(parser, filename); in processFile() 156 const XML_Char *filename; in externalEntityRefFilemap() local 163 filename = resolveSystemId(base, systemId, &s); in externalEntityRefFilemap() 164 XML_SetBase(entParser, filename); in externalEntityRefFilemap() 165 filemapRes = filemap(filename, processFile, &args); in externalEntityRefFilemap() [all …]
|
/third_party/expat/xmlwf/ |
D | xmlfile.c | 84 static int processStream(const XML_Char *filename, XML_Parser parser); 87 reportError(XML_Parser parser, const XML_Char *filename) { in reportError() argument 94 filename, XML_GetErrorLineNumber(parser), in reportError() 97 ftprintf(stderr, T("%s: (unknown message %d)\n"), filename, code); in reportError() 102 processFile(const void *data, size_t size, const XML_Char *filename, in processFile() argument 107 reportError(parser, filename); in processFile() 156 const XML_Char *filename; in externalEntityRefFilemap() local 163 filename = resolveSystemId(base, systemId, &s); in externalEntityRefFilemap() 164 XML_SetBase(entParser, filename); in externalEntityRefFilemap() 165 filemapRes = filemap(filename, processFile, &args); in externalEntityRefFilemap() [all …]
|
/third_party/boost/libs/nowide/test/ |
D | test_fstream.cpp | 197 void test_ofstream_creates_file(const char* filename) in test_ofstream_creates_file() argument 199 TEST(!file_exists(filename) || nw::remove(filename) == 0); in test_ofstream_creates_file() 200 TEST(!file_exists(filename)); in test_ofstream_creates_file() 203 nw::ofstream fo(filename); in test_ofstream_creates_file() 206 TEST(file_exists(filename)); in test_ofstream_creates_file() 207 TEST(read_file(filename).empty()); in test_ofstream_creates_file() 208 TEST(nw::remove(filename) == 0); in test_ofstream_creates_file() 212 fo.open(filename); in test_ofstream_creates_file() 215 TEST(file_exists(filename)); in test_ofstream_creates_file() 216 TEST(read_file(filename).empty()); in test_ofstream_creates_file() [all …]
|
D | test_fstream_cxx11.cpp | 21 void create_file(const std::string& filename, const std::string& contents) in create_file() argument 23 nw::ofstream f(filename, std::ios::trunc); in create_file() 35 std::string get_file_contents(const std::string& filename) in get_file_contents() argument 37 nw::ifstream f(filename); in get_file_contents() 41 nw::ifstream make_ifstream(const std::string& filename) in make_ifstream() argument 43 nw::ifstream f(filename); in make_ifstream() 51 void test_ifstream(const std::string& filename) in test_ifstream() argument 53 create_file(filename, "Hello\nWorld"); in test_ifstream() 56 nw::ifstream f = make_ifstream(filename); in test_ifstream() 66 nw::ifstream f2 = make_ifstream(filename); in test_ifstream() [all …]
|
/third_party/node/lib/internal/modules/cjs/ |
D | loader.js | 146 function stat(filename) { argument 147 filename = path.toNamespacedPath(filename); 149 const result = statCache.get(filename); 152 const result = internalModuleStat(filename); 153 if (statCache !== null) statCache.set(filename, result); 169 this.filename = null; 313 const filename = path.resolve(requestPath, pkg); 314 let actual = tryFile(filename, isMain) || 315 tryExtensions(filename, exts, isMain) || 316 tryExtensions(path.resolve(filename, 'index'), exts, isMain); [all …]
|
/third_party/libsnd/tests/ |
D | error_test.c | 80 const char *filename = "error.aiff" ; in error_value_test() local 85 print_test_name ("error_value_test", filename) ; in error_value_test() 87 dump_data_to_file (filename, aiff_data, sizeof (aiff_data)) ; in error_value_test() 91 file = sf_open (filename, SFM_READ, &sfinfo) ; in error_value_test() 102 remove (filename) ; in error_value_test() 108 no_file_test (const char * filename) in no_file_test() argument 112 print_test_name (__func__, filename) ; in no_file_test() 114 unlink (filename) ; in no_file_test() 117 sndfile = sf_open (filename, SFM_READ, &sfinfo) ; in no_file_test() 121 unlink (filename) ; in no_file_test() [all …]
|
/third_party/openssl/test/recipes/ |
D | 90-test_shlibload.t | 36 (my $fh, my $filename) = tempfile(); 37 ok(run(test(["shlibloadtest", "-crypto_first", $libcrypto, $libssl, $filename])), 38 "running shlibloadtest -crypto_first $filename"); 40 unlink $filename; 41 ($fh, $filename) = tempfile(); 42 ok(run(test(["shlibloadtest", "-ssl_first", $libcrypto, $libssl, $filename])), 43 "running shlibloadtest -ssl_first $filename"); 45 unlink $filename; 46 ($fh, $filename) = tempfile(); 47 ok(run(test(["shlibloadtest", "-just_crypto", $libcrypto, $libssl, $filename])), [all …]
|