| /third_party/boost/doc/ |
| D | accumulators.tag | 5 <filename>structboost_1_1accumulators_1_1detail_1_1accumulator__set__result.html</filename> 11 <filename>structboost_1_1accumulators_1_1detail_1_1accumulator__set__result.html</filename> 15 <filename>structboost_1_1accumulators_1_1detail_1_1accumulator__wrapper.html</filename> 21 …<filename>structboost_1_1accumulators_1_1detail_1_1contains__feature__of___1_1apply.html</filename> 27 <filename>structboost_1_1accumulators_1_1detail_1_1matches__feature_1_1apply.html</filename> 32 <filename>structboost_1_1accumulators_1_1detail_1_1argument__pack__result.html</filename> 39 <filename>structboost_1_1accumulators_1_1as__feature.html</filename> 44 <filename>structboost_1_1accumulators_1_1detail_1_1as__feature__list.html</filename> 50 …<filename>structboost_1_1accumulators_1_1detail_1_1as__feature__list_3_01Features_00_01void_01_4.h… 55 <filename>structboost_1_1accumulators_1_1as__weighted__feature.html</filename> [all …]
|
| /third_party/python/Lib/ |
| D | linecache.py | 3 This is intended to read lines from modules imported -- hence if a filename 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: [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/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/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/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/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 …]
|
| D | tiff_tiled_write_macros.hpp | 34 string filename( string( "tiger-" ) + BOOST_PP_STRINGIZE(data) + "-strip-contig-" ); \ 39 filename += padding + BOOST_PP_STRINGIZE(n) + ".tif"; \ 40 path += filename; \ 46 write_view( tiff_out + filename, view(img_strip), info ); \ 47 read_image( tiff_out + filename, img_saved, tag_t() ); \ 58 string filename( string( "tiger-" ) + BOOST_PP_STRINGIZE(data) + "-strip-" ); \ 63 filename = filename + padding + BOOST_PP_STRINGIZE(n) + ".tif"; \ 64 path += filename; \ 70 write_view( tiff_out + filename, view(img_strip), info ); \ 71 read_image( tiff_out + filename, img_saved, tag_t() ); \ [all …]
|
| /third_party/python/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): 22 # This can happen when bad filename is passed on command line: 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 [all …]
|
| D | iomenu.py | 66 filename = None variable in IOBinding 69 def set_filename(self, filename): argument 70 if filename and os.path.isdir(filename): 71 self.filename = None 72 self.dirname = filename 74 self.filename = filename 85 filename = self.askopenfile() 87 filename=editFile 88 if filename: 98 not self.filename and [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/test/parallel/ |
| D | test-fs-append-file.js | 47 const filename = join(tmpdir.path, 'append.txt'); constant 49 fs.appendFile(filename, s, common.mustCall(function(e) { 52 fs.readFile(filename, common.mustCall(function(e, buffer) { 61 const filename = join(tmpdir.path, 'append-promise.txt'); constant 63 fs.promises.appendFile(filename, s) 64 .then(common.mustCall(() => fs.promises.readFile(filename))) 73 const filename = join(tmpdir.path, 'append-non-empty.txt'); constant 74 fs.writeFileSync(filename, currentFileData); 76 fs.appendFile(filename, s, common.mustCall(function(e) { 79 fs.readFile(filename, common.mustCall(function(e, buffer) { [all …]
|
| /third_party/python/Lib/test/ |
| D | test_gzip.py | 47 filename = support.TESTFN variable in BaseTest 50 support.unlink(self.filename) 53 support.unlink(self.filename) 59 with gzip.GzipFile(self.filename, 'w'+mode) as f: 62 with gzip.GzipFile(self.filename, 'r'+mode) as f: 66 with gzip.GzipFile(self.filename, 'wb') as f: 80 filename = pathlib.Path(self.filename) 81 with gzip.GzipFile(filename, 'w') as f: 84 with gzip.GzipFile(filename, 'a') as f: 86 with gzip.GzipFile(filename) as f: [all …]
|
| D | test_unicode_file.py | 19 def remove_if_exists(filename): argument 20 if os.path.exists(filename): 21 os.unlink(filename) 27 # Do all the tests we can given only a single filename. The file should 29 def _do_single(self, filename): argument 30 self.assertTrue(os.path.exists(filename)) 31 self.assertTrue(os.path.isfile(filename)) 32 self.assertTrue(os.access(filename, os.R_OK)) 33 self.assertTrue(os.path.exists(os.path.abspath(filename))) 34 self.assertTrue(os.path.isfile(os.path.abspath(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/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/json/benchmarks/thirdparty/benchmark/tools/gbench/ |
| D | util.py | 15 def is_executable_file(filename): argument 17 Return 'True' if 'filename' names a valid file which is likely 21 if not os.path.isfile(filename): 23 with open(filename, mode='rb') as f: 40 def is_json_file(filename): argument 42 Returns 'True' if 'filename' names a valid JSON output file. 46 with open(filename, 'r') as f: 54 def classify_input_file(filename): argument 57 of 'filename'. If 'type' is 'IT_Invalid' then 'msg' is a human readable 62 if not os.path.exists(filename): [all …]
|
| /third_party/flutter/flutter/examples/flutter_gallery/ios/Runner/Assets.xcassets/AppIcon.appiconset/ |
| D | Contents.json | 6 "filename" : "Icon-40.png", string 12 "filename" : "Icon-60.png", string 18 "filename" : "Icon-29.png", string 24 "filename" : "Icon-58.png", string 30 "filename" : "Icon-87.png", string 36 "filename" : "Icon-80.png", string 42 "filename" : "Icon-120.png", string 48 "filename" : "Icon-120.png", string 54 "filename" : "Icon-180.png", string 60 "filename" : "Icon-20.png", string [all …]
|
| /third_party/openssl/crypto/ |
| D | o_fopen.c | 38 FILE *openssl_fopen(const char *filename, const char *mode) in openssl_fopen() argument 42 int sz, len_0 = (int)strlen(filename) + 1; in openssl_fopen() 46 * Basically there are three cases to cover: a) filename is in openssl_fopen() 50 * If filename is pure ASCII or real UTF-8 encoded string, in openssl_fopen() 52 * filename is locale-ized string, chances are that in openssl_fopen() 58 filename, len_0, NULL, 0)) > 0 || in openssl_fopen() 61 filename, len_0, NULL, 0)) > 0) in openssl_fopen() 67 filename, len_0, wfilename, sz) && in openssl_fopen() 74 * UTF-8 decode succeeded, but no file, filename in openssl_fopen() 77 file = fopen(filename, mode); in openssl_fopen() [all …]
|
| /third_party/flutter/skia/tests/ |
| 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) { in test_dir_with_file() argument 24 // If filename contains SkOSPath::SEPARATOR, the tests will fail. in test_dir_with_file() 25 SkASSERT(!filename.contains(SkOSPath::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() 43 // basename should be the same as filename in test_dir_with_file() 44 REPORTER_ASSERT(reporter, basename.equals(filename)); in test_dir_with_file() 60 // Now take the basename of filename, which should be the same as filename. in test_dir_with_file() [all …]
|
| /third_party/json/test/thirdparty/Fuzzer/ |
| D | FuzzerIOWindows.cpp | 97 std::string FileName = DirPlusFile(Dir, FindInfo.cFileName); in ListFilesInDirRecursive() local 106 ListFilesInDirRecursive(FileName, Epoch, V, false); in ListFilesInDirRecursive() 108 else if (IsFile(FileName, FindInfo.dwFileAttributes)) in ListFilesInDirRecursive() 109 V->push_back(FileName); in ListFilesInDirRecursive() 148 static size_t ParseDrive(const std::string &FileName, const size_t Offset, in ParseDrive() argument 150 if (Offset + 1 >= FileName.size() || FileName[Offset + 1] != ':') in ParseDrive() 152 if (Offset + 2 >= FileName.size() || !IsSeparator(FileName[Offset + 2])) { in ParseDrive() 163 static size_t ParseFileName(const std::string &FileName, const size_t Offset) { in ParseFileName() argument 165 const size_t End = FileName.size(); in ParseFileName() 166 for(; Pos < End && !IsSeparator(FileName[Pos]); ++Pos) in ParseFileName() [all …]
|
| /third_party/node/lib/internal/modules/cjs/ |
| D | loader.js | 123 function stat(filename) { argument 124 filename = path.toNamespacedPath(filename); 126 const result = statCache.get(filename); 129 const result = internalModuleStat(filename); 130 if (statCache !== null) statCache.set(filename, result); 146 this.filename = null; 287 const filename = path.resolve(requestPath, pkgMain); 288 let actual = tryFile(filename, isMain) || 289 tryExtensions(filename, exts, isMain) || 290 tryExtensions(path.resolve(filename, 'index'), exts, isMain); [all …]
|
| /third_party/flutter/flutter/dev/integration_tests/codegen/ios/Runner/Assets.xcassets/AppIcon.appiconset/ |
| D | Contents.json | 6 "filename" : "Icon-App-20x20@2x.png", string 12 "filename" : "Icon-App-20x20@3x.png", string 18 "filename" : "Icon-App-29x29@1x.png", string 24 "filename" : "Icon-App-29x29@2x.png", string 30 "filename" : "Icon-App-29x29@3x.png", string 36 "filename" : "Icon-App-40x40@2x.png", string 42 "filename" : "Icon-App-40x40@3x.png", string 48 "filename" : "Icon-App-60x60@2x.png", string 54 "filename" : "Icon-App-60x60@3x.png", string 60 "filename" : "Icon-App-20x20@1x.png", string [all …]
|